Fix tmux dot session to work with stow dotfiles

This commit is contained in:
Marty Oehme 2020-01-03 10:10:58 +01:00
parent dee7f9096b
commit 7b3b41ea97

View file

@ -1,12 +1,12 @@
rename-window dot-git
send-keys "watch -t -n 5 -c '/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/marty -c color.ui=always diff | tail -n $(($LINES - 2))'" C-m
split-window -h watch -t -n 5 -c '/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/marty -c color.ui=always status | sed "s/\x1b\[m/\x1b\[00m/"'
send-keys "cd ~/.dotfiles; watch -t -n 1 -c 'git -c color.ui=always diff | tail -n $(($LINES - 2))'" C-m
split-window -h watch -t -n 1 -c 'cd ~/.dotfiles; git -c color.ui=always status | sed "s/\x1b\[m/\x1b\[00m/"'
split-window -v
send-keys L C-m
send-keys "cd ~/.dotfiles; clear" C-m L C-m
select-pane -t 1
split-window -v watch -t -n 5 -c '/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/marty -c color.ui=always log --graph --date=short --decorate --oneline'
split-window -v watch -t -n 1 -c 'cd ~/.dotfiles; git -c color.ui=always log --graph --date=short --decorate --oneline'
select-pane -t 4
new-window -n code
send-keys "vim" C-m
send-keys "cd ~/.dotfiles; vim ." C-m I
new-window -n test
select-window -t 1