Combine 'notes' tmux session into 'hub'

This commit is contained in:
2026-03-12 15:27:44 -05:00
parent b9960cda51
commit fddf0392dd
3 changed files with 9 additions and 3 deletions

View File

@@ -1,4 +1,12 @@
tmux rename-window inbox
tmux rename-window notes-cmd
tmux send-keys -t :notes-cmd "cd "$DIR_NOTES"; clear; [[ -d .git ]] && git status" c-M
tmux new-window -d -n notes-$EDITOR
tmux send-keys -t :notes-$EDITOR "cd "$DIR_NOTES"; $EDITOR inbox" c-M
tmux new-window -d -n inbox
tmux send-keys -t :inbox 'cd "$DIR_INBOX"; clear; ls' c-M
tmux switch-client -t "hub:2"
clear