Skip to content

Commit

Permalink
Change "command" to "cmd" for iTerm compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremybahadirli authored Jan 2, 2023
1 parent 534ab03 commit 1256633
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Vim-Terminal.scpt
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

0 comments on commit 1256633

Please sign in to comment.