This commit is contained in:
Alexander Navarro 2023-02-13 20:07:23 -03:00
parent 4f0e213f4a
commit 117b20bb7b
15 changed files with 1204 additions and 33 deletions

19
setup/config Executable file
View file

@ -0,0 +1,19 @@
#!/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 "tmux"
)
for dot in "${configs[@]}"; do
symlink "$(pwd)/$dot" "${CONFIG}"
done
cd "$original_pwd" || exit