dots/setup/config
aleidk eebd9d4a78 Update tmux config
- Add layout managment via tmuxp
- Add function to run z and tmuxp
- move tmux config from home folder to config folder
2023-10-28 19:47:32 -03:00

19 lines
333 B
Bash
Executable file

#!/usr/bin/env bash
echo -e "\n${BLD}${SUL}${GRN}Setting up config...${RST}\n"
original_pwd="$(pwd)"
cd "$DOTS/config" || exit
readarray -t configs < <(
fd -d 1 \
--exclude "*.old" \
--exclude "create*" \
--exclude "git"
)
for dot in "${configs[@]}"; do
symlink "$(pwd)/$dot" "${CONFIG}"
done
cd "$original_pwd" || exit