aboutsummarylogtreecommitdiffstats
path: root/sublime_text_3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sublime_text_3.sh')
-rwxr-xr-xsublime_text_3.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/sublime_text_3.sh b/sublime_text_3.sh
deleted file mode 100755
index dfd4affaf2f9..000000000000
--- a/sublime_text_3.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-# Please note that Sublime Text 3 for some reason opens an empty instance
-# if the project you're trying to open is already open in another instance,
-# instead of just giving it focus.
-
-SUBLIME_HOME=/opt/sublime_text_3
-BIN="${SUBLIME_HOME}/sublime_text"
-
-PID=$(pidof -o %PPID ${BIN} 2>/dev/null)
-ARGS="--class=sublime-text"
-
-if [[ ${1:(-16)} == ".sublime-project" ]]; then
- ARGS="${ARGS} --project"
-fi
-
-if [[ -n ${PID} ]]; then
- ${BIN} ${ARGS} "$@"
-else
- ${BIN} ${ARGS} "$@" &
-fi
-
-# vim:set ts=2 sw=2 et: