update
This commit is contained in:
parent
4f0e213f4a
commit
117b20bb7b
15 changed files with 1204 additions and 33 deletions
19
setup/config
Executable file
19
setup/config
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue