Add .tmux_session.sh

This commit is contained in:
2026-03-21 18:58:32 +01:00
parent 361e572a1b
commit e5dc0bc074

9
.tmux_session.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
SESSION=$1
tmux send-keys -t "$SESSION:1" "cd ~/workspace/private/ma-thesis/" Enter
tmux send-keys -t "$SESSION:1" "./.setup_local_env.sh" Enter
# tmux send-keys -t "$SESSION:1" "export TEXINPUTS=./lib/cel-slides-template-2025:\$TEXINPUTS" C-m
tmux send-keys -t "$SESSION:1" "trap './.clean_local_env.sh' EXIT" Enter
tmux send-keys -t "$SESSION:1" "nvim" Enter
tmux send-keys -t "$SESSION:1" "\\ll" Enter