From 7b3b41ea973e7a13afed60881585361d2748cc3e Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 3 Jan 2020 10:10:58 +0100 Subject: [PATCH] Fix tmux dot session to work with stow dotfiles --- tmux/.config/tmux/sessions/dot.session | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tmux/.config/tmux/sessions/dot.session b/tmux/.config/tmux/sessions/dot.session index 6529ae2..dd0736a 100644 --- a/tmux/.config/tmux/sessions/dot.session +++ b/tmux/.config/tmux/sessions/dot.session @@ -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