Compare commits

...

2 Commits

2 changed files with 8 additions and 0 deletions

View File

@ -20,4 +20,11 @@ tmux rename-window config/local
tmux move-window -s local:config/local -t 9
`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

View File

@ -19,6 +19,7 @@ if [[ $ratio -ge 100 ]]; then
else
# terminal is wide and small
tmux split-window -h -l 50% -c '#{pane_current_path}'
tmux select-pane -t 1
fi
else
# terminal is tall