Fix install script

This commit is contained in:
lhark 2015-12-06 01:04:37 +01:00
parent 2539af5761
commit 75568b300e

View file

@ -7,7 +7,10 @@ SCRIPTPATH=$(dirname "$SCRIPT")
FILES="vimrc zshrc gitconfig vim"
# Create symbolic links in the user's home dir
OLDPATH=`pwd`
cd $HOME
for file in $FILES
do
ln -s -t $HOME .$file
ln -s ${SCRIPTPATH}/${file} .${file}
done
cd $OLDPATH