summaryrefslogtreecommitdiff
path: root/plugins/externaltools/data/open-terminal-here-osx.tool.in
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/externaltools/data/open-terminal-here-osx.tool.in')
-rwxr-xr-xplugins/externaltools/data/open-terminal-here-osx.tool.in16
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/externaltools/data/open-terminal-here-osx.tool.in b/plugins/externaltools/data/open-terminal-here-osx.tool.in
deleted file mode 100755
index 86d842dc..00000000
--- a/plugins/externaltools/data/open-terminal-here-osx.tool.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/osascript
-
-set the_path to system attribute "PLUMA_CURRENT_DOCUMENT_DIR"
-set cmd to "cd " & quoted form of the_path
-
-tell application "System Events" to set terminalIsRunning to exists application process "Terminal"
-
-tell application "Terminal"
- activate
-
- if terminalIsRunning is true then
- do script with command cmd
- else
- do script with command cmd in window 1
- end if
-end tell