Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Modern iterm activates after cd (Issue #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
curby committed Sep 28, 2017
1 parent 3f5573a commit 19e498a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Open iTerm.app/Contents/document.wflow
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
set dir_path to quoted form of (POSIX path of (folder of the front window as alias))
end tell
CD_to(dir_path)
tell application "iTerm" to activate
end run

on CD_to(theDir)
Expand Down
1 change: 1 addition & 0 deletions application/application.modern.applescript
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on run {input, parameters}
set dir_path to quoted form of (POSIX path of (folder of the front window as alias))
end tell
CD_to(dir_path)
tell application "iTerm" to activate
end run

on CD_to(theDir)
Expand Down

0 comments on commit 19e498a

Please sign in to comment.