summaryrefslogtreecommitdiff
path: root/scripts/tmux-session-setup
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tmux-session-setup')
-rwxr-xr-xscripts/tmux-session-setup6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/tmux-session-setup b/scripts/tmux-session-setup
index 2da5f6e..d1391de 100755
--- a/scripts/tmux-session-setup
+++ b/scripts/tmux-session-setup
@@ -13,13 +13,17 @@ if [ "$dir" = "$HOME" ]; then
tmux new-window -t $sess -n "grimoire" -c $HOME/personal/grimoire/
tmux send-keys -t $sess:"grimoire".1 "vim" C-m
tmux select-window -t $sess:main
-elif [[ "$sess" == "ratry" || "$sess" == "kiwen-prototype" ]]; then
+elif [[ "$sess" == "ratry" || "$sess" == "kiwen-prototype" || "$sess" == "hackathon" ]]; then
tmux rename-window -t $sess:1 editor
tmux send-keys -t $sess:editor.1 "nix develop" C-m
+ tmux send-keys -t $sess:editor.1 "zsh && exit" C-m
+ tmux send-keys -t $sess:editor.1 "clear" C-m
tmux send-keys -t $sess:editor.1 "nvim" C-m
tmux new-window -t $sess -n game -c $dir
tmux send-keys -t $sess:game.1 "nix develop" C-m
+ tmux send-keys -t $sess:game.1 "zsh && exit" C-m
+ tmux send-keys -t $sess:game.1 "clear" C-m
tmux select-window -t $sess:editor
elif [ "$sess" = "eko" ]; then