This repository has been archived on 2024-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-nix/setup/setup.tmux.sh

28 lines
511 B
Bash

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