Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/terminal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ launch_iterm2() {
NVIM_COMMAND="$1" /usr/bin/osascript <<'EOF_AS'
set nvimCommand to system attribute "NVIM_COMMAND"
set shellCommand to "/bin/zsh -lic " & quoted form of nvimCommand
set wasRunning to application "iTerm2" is running
set wasRunning to application id "com.googlecode.iterm2" is running

tell application "iTerm2"
tell application id "com.googlecode.iterm2"
launch
if wasRunning then
create window with default profile command shellCommand
Expand Down
Loading