-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change "command" to "cmd" for iTerm compatibility
- Loading branch information
1 parent
534ab03
commit 1256633
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
on run {input} | ||
set command to "vim" | ||
set cmd to "vim" | ||
|
||
repeat with eachItem in input | ||
set command to command & " " & quoted form of POSIX path of eachItem | ||
set cmd to cmd & " " & quoted form of POSIX path of eachItem | ||
end repeat | ||
|
||
tell application "Terminal" | ||
launch | ||
do script command | ||
do script cmd | ||
activate | ||
end tell | ||
end run |