diff --git a/tmux/.config/tmux/sessions/dot.session b/tmux/.config/tmux/sessions/dot.session index c35e349..abb88c6 100644 --- a/tmux/.config/tmux/sessions/dot.session +++ b/tmux/.config/tmux/sessions/dot.session @@ -1,5 +1,5 @@ rename-window dot-git -send-keys "cd ~/.dotfiles; while true; do fd -t f --hidden | entr -cd git -c color.ui=always diff; done" C-m +send-keys "cd ~/.dotfiles; while true; do [[ -z $(git status -s) ]] && { fd -t f --hidden | entr -cd tea issue ;} || { fd -t f --hidden | entr -cd git -c color.ui=always diff ;} ; done" split-window -h "cd ~/.dotfiles; while true; do fd -t f --hidden --exclude .git/objects | entr -cd git -c color.ui=always status; done" split-window -v send-keys "cd ~/.dotfiles; clear" C-m L C-m