Skip to content

Commit

Permalink
Wait for the terminal command to complete on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusDoe committed Oct 31, 2024
1 parent be95c58 commit 0494809
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@ knownTerminalCommands
'konsole -e {}'.
'lxterminal -e {}'.
'mate-terminal -x {}'.
'osascript -e ''tell app "Terminal" to do script "{":\",'':''"''"''}"'''.
{
'osascript -e ''tell app "Terminal"'.
'activate'.
'set w to do script "{":\",'':''"''"''}"'.
'repeat'.
'delay 0.1'.
'if not busy of w then exit repeat'.
'end repeat'.
'end tell'''.
} joinSeparatedBy: String crlf.
'st -e {}'.
'terminator -x {}'.
'terminology -e {quote}'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"head" : "jr 8/13/2020 23:10",
"headReference" : "jr 3/4/2020 00:47",
"initializeOn:" : "MaxLeske 7/23/2010 09:59",
"knownTerminalCommands" : "mad 5/18/2024 12:02",
"knownTerminalCommands" : "mad 10/31/2024 17:31",
"orphanedHead" : "jr 1/29/2017 22:52",
"performTerminalCommandTemplateReplacement:in:" : "mad 10/9/2024 15:07",
"pruneRefs:keep:" : "mad 4/7/2024 14:44",
Expand Down

0 comments on commit 0494809

Please sign in to comment.