Compare commits
2 Commits
85c11bc57c
...
896a9e09d3
Author | SHA1 | Date | |
---|---|---|---|
896a9e09d3 | |||
f02e0a20f6 |
@ -20,4 +20,11 @@ tmux rename-window config/local
|
|||||||
tmux move-window -s local:config/local -t 9
|
tmux move-window -s local:config/local -t 9
|
||||||
`dirname $0`/window-auto
|
`dirname $0`/window-auto
|
||||||
|
|
||||||
|
if [ -d ~/.config/work ]; then
|
||||||
|
tmux new-window -c ~/.config/work
|
||||||
|
tmux rename-window config/work
|
||||||
|
tmux move-window -s local:config/work -t 9
|
||||||
|
`dirname $0`/window-auto
|
||||||
|
fi
|
||||||
|
|
||||||
tmux select-window -t local:home
|
tmux select-window -t local:home
|
||||||
|
@ -19,6 +19,7 @@ if [[ $ratio -ge 100 ]]; then
|
|||||||
else
|
else
|
||||||
# terminal is wide and small
|
# terminal is wide and small
|
||||||
tmux split-window -h -l 50% -c '#{pane_current_path}'
|
tmux split-window -h -l 50% -c '#{pane_current_path}'
|
||||||
|
tmux select-pane -t 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# terminal is tall
|
# terminal is tall
|
||||||
|
Loading…
x
Reference in New Issue
Block a user