Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
onmyway133 committed Mar 18, 2017
1 parent fd485e9 commit 6e25eda
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion FinderSyncExtension/Scripts/hyper.scpt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
tell application "Finder"
do shell script "open -a Hyper {{PATH}}"
set cwd to POSIX path of ((target of front Finder window) as text)
do shell script "open -a Hyper " & quoted form of cwd
end tell
3 changes: 2 additions & 1 deletion FinderSyncExtension/Scripts/iterm.scpt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
tell application "Finder"
do shell script "open -a iTerm {{PATH}}"
set cwd to POSIX path of ((target of front Finder window) as text)
do shell script "open -a iTerm " & quoted form of cwd
end tell
3 changes: 2 additions & 1 deletion FinderSyncExtension/Scripts/terminal.scpt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
tell application "Finder"
do shell script "open -a Terminal {{PATH}}"
set cwd to POSIX path of ((target of front Finder window) as text)
do shell script "open -a Terminal " & quoted form of cwd
end tell

0 comments on commit 6e25eda

Please sign in to comment.