Skip to content

Commit 68f1c48

Browse files
committed
modifying vim-aruino-serial to open new terminal tab with set theme rather than opening a new terminal window with 'Default' theme
1 parent 8a00010 commit 68f1c48

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugin/vim-arduino-serial

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ port=$(ls /dev/tty.* | grep usb)
77
osascript -e \
88
"tell application \"iTerm\"
99
activate
10-
set myterm to (make new terminal)
10+
set myterm to (current terminal)
1111
tell myterm
12-
launch session \"Default\"
13-
set _session to current session
14-
tell _session
12+
set mysession to (make new session at the end of sessions)
13+
tell mysession
14+
exec command \"/bin/bash -l\"
1515
write text \"screen $port\"
1616
end tell
1717
end tell

0 commit comments

Comments
 (0)