From e93cc25854ae340b3018a72e677aeb2eddf3ef8a Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Mon, 8 Apr 2024 19:12:20 +0200 Subject: [PATCH] [setup] add tmux session --- setup/setup.tmux.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 setup/setup.tmux.sh diff --git a/setup/setup.tmux.sh b/setup/setup.tmux.sh new file mode 100644 index 0000000..255658e --- /dev/null +++ b/setup/setup.tmux.sh @@ -0,0 +1,27 @@ +if initialize_session "default"; then + + # open dotfiles + new_window "dotfiles" + run_cmd "cd ~/.dotfiles" + run_cmd "nvim" + + # open siempie + new_window "siempie" + run_cmd "cd ~/Documents/git/siempie" + run_cmd "nvim" + + # open itcreation + new_window "itcreation" + run_cmd "cd ~/Documents/git/itcreation" + run_cmd "nvim" + + # open empty shell + new_window "simon" + + # go by default to the open shell + select_window 4 + +fi + +# finalize session creation and switch/attach to it. +finalize_and_go_to_session