File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
scripts/handle_tmux_automatic_start Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ start_iterm_and_run_tmux() {
10
10
11
11
# open iterm window
12
12
try
13
- set _session to current session of current terminal
13
+ set _session to current session of current window
14
14
on error
15
15
set _term to (make new terminal)
16
16
tell _term
@@ -31,7 +31,7 @@ resize_window_to_full_screen() {
31
31
osascript << -EOF
32
32
tell application "iTerm"
33
33
set winID to id of window 1
34
- tell i term application "Finder"
34
+ tell application "Finder"
35
35
set desktopSize to bounds of window of desktop
36
36
end tell
37
37
set bounds of window id winID to desktopSize
@@ -48,7 +48,7 @@ resize_to_true_full_screen() {
48
48
# short wait for iTerm to gain focus
49
49
delay 0.1
50
50
# Command + Enter for fullscreen
51
- tell i term application "System Events"
51
+ tell application "System Events"
52
52
key code 36 using {command down}
53
53
end tell
54
54
end tell
You can’t perform that action at this time.
0 commit comments