This commit is contained in:
Alexander Navarro 2023-03-06 19:57:24 -03:00
parent f3c1524c2d
commit 3afa9900ce
9 changed files with 63 additions and 33 deletions

View file

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