Update tmux config

- Add layout managment via tmuxp
- Add function to run z and tmuxp
- move tmux config from home folder to config folder
This commit is contained in:
Alexander Navarro 2023-10-28 19:47:32 -03:00
parent 6fda168c66
commit eebd9d4a78
10 changed files with 45 additions and 17 deletions

View file

@ -6,15 +6,14 @@ original_pwd="$(pwd)"
cd "$DOTS/config" || exit
readarray -t configs < <(
fd -d 1 \
--exclude "*.old" \
--exclude "create*" \
--exclude "tmux" \
--exclude "git"
fd -d 1 \
--exclude "*.old" \
--exclude "create*" \
--exclude "git"
)
for dot in "${configs[@]}"; do
symlink "$(pwd)/$dot" "${CONFIG}"
symlink "$(pwd)/$dot" "${CONFIG}"
done
cd "$original_pwd" || exit

View file

@ -1,9 +0,0 @@
#!/usr/bin/env bash
echo -e "\n${BLD}${SUL}${GRN}Setting up tmux...${RST}\n"
setup_zsh() {
symlink "$DOTS/config/tmux/tmux.conf" "$HOME"/.tmux.conf
}
setup_zsh