ditch the whitelist and link all config files
This commit is contained in:
parent
dd3e291d39
commit
3a76a8ab26
1 changed files with 5 additions and 3 deletions
8
init.sh
8
init.sh
|
|
@ -20,8 +20,10 @@ link_config() {
|
|||
fi
|
||||
}
|
||||
|
||||
CONFIG_FILES="ackrc emacs emacs.d gitconfig screenrc vimrc zshenv gdbinit"
|
||||
cd "$CONFIG_PATH"
|
||||
|
||||
for file in $CONFIG_FILES; do
|
||||
link_config "$file"
|
||||
for file in *; do
|
||||
if [ "$file" != "init.sh" ]; then
|
||||
link_config "$file"
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue