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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFIG_FILES="ackrc emacs emacs.d gitconfig screenrc vimrc zshenv gdbinit"
|
cd "$CONFIG_PATH"
|
||||||
|
|
||||||
for file in $CONFIG_FILES; do
|
for file in *; do
|
||||||
link_config "$file"
|
if [ "$file" != "init.sh" ]; then
|
||||||
|
link_config "$file"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue