rc/install.sh

15 lines
282 B
Bash
Raw Normal View History

2015-06-03 21:39:41 +00:00
#!/bin/sh
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
2015-06-06 22:47:56 +00:00
# List of the config files to install
FILES="vimrc zshrc gitconfig vim"
2015-06-03 21:39:41 +00:00
2015-06-06 22:47:56 +00:00
# Create symbolic links in the user's home dir
2015-06-03 21:45:41 +00:00
for file in $FILES
do
ln -s -T $SCRIPTPATH/$file .$file
mv .$file /home/$USER
2015-06-03 21:39:41 +00:00
done