diff --git a/tmux/.config/tmux/sessions/dot.session b/tmux/.config/tmux/sessions/dot.session index 210d813..b268f5b 100644 --- a/tmux/.config/tmux/sessions/dot.session +++ b/tmux/.config/tmux/sessions/dot.session @@ -1,12 +1,13 @@ rename-window dot-git -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/"' +send-keys "cd ~/.dotfiles; fd -t f --hidden | entr -c git -c color.ui=always diff" C-m +split-window -h "cd ~/.dotfiles; fd -t f --hidden | entr -c git -c color.ui=always status" split-window -v send-keys "cd ~/.dotfiles; clear" C-m L C-m select-pane -t 1 split-window -v watch -t -n 1 -c 'cd ~/.dotfiles; [ $(git diff --staged | wc -l) -eq 0 ] && git -c color.ui=always log --graph --date=short --decorate --oneline --all --remotes || git -c color.ui=always diff --staged | tail -n $(($LINES - 2))' select-pane -t 4 new-window -n code -send-keys "cd ~/.dotfiles; v ." C-m I +send-keys "cd ~/.dotfiles; v ." C-m zo new-window -n test select-window -t 1 +attach-session -t . -c ~/.dotfiles