Fix install script
This commit is contained in:
parent
2539af5761
commit
75568b300e
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@ SCRIPTPATH=$(dirname "$SCRIPT")
|
||||||
FILES="vimrc zshrc gitconfig vim"
|
FILES="vimrc zshrc gitconfig vim"
|
||||||
|
|
||||||
# Create symbolic links in the user's home dir
|
# Create symbolic links in the user's home dir
|
||||||
|
OLDPATH=`pwd`
|
||||||
|
cd $HOME
|
||||||
for file in $FILES
|
for file in $FILES
|
||||||
do
|
do
|
||||||
ln -s -t $HOME .$file
|
ln -s ${SCRIPTPATH}/${file} .${file}
|
||||||
done
|
done
|
||||||
|
cd $OLDPATH
|
||||||
|
|
Loading…
Reference in a new issue