From 1256633a1f80e029df13aa81ca5fba0823755854 Mon Sep 17 00:00:00 2001 From: Jeremy Bahadirli Date: Mon, 2 Jan 2023 15:25:21 -0600 Subject: [PATCH] Change "command" to "cmd" for iTerm compatibility --- Vim-Terminal.scpt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Vim-Terminal.scpt b/Vim-Terminal.scpt index 2478f23..51314e6 100644 --- a/Vim-Terminal.scpt +++ b/Vim-Terminal.scpt @@ -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