Fix tmux dot session to work with stow dotfiles
This commit is contained in:
parent
dee7f9096b
commit
7b3b41ea97
1 changed files with 5 additions and 5 deletions
|
@ -1,12 +1,12 @@
|
||||||
rename-window dot-git
|
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
|
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 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/"'
|
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
|
split-window -v
|
||||||
send-keys L C-m
|
send-keys "cd ~/.dotfiles; clear" C-m L C-m
|
||||||
select-pane -t 1
|
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
|
select-pane -t 4
|
||||||
new-window -n code
|
new-window -n code
|
||||||
send-keys "vim" C-m
|
send-keys "cd ~/.dotfiles; vim ." C-m I
|
||||||
new-window -n test
|
new-window -n test
|
||||||
select-window -t 1
|
select-window -t 1
|
||||||
|
|
Loading…
Reference in a new issue