Simplify install script

This commit is contained in:
lhark 2016-04-20 00:24:33 +00:00
parent 52a282fdb6
commit 8014cfd6f8

View file

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