Improve install script
This commit is contained in:
parent
4056bb6789
commit
2539af5761
1 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
SCRIPT=$(readlink -f "$0")
|
SCRIPT=$(readlink -f "$0")
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||||
|
@ -9,6 +9,5 @@ FILES="vimrc zshrc gitconfig vim"
|
||||||
# Create symbolic links in the user's home dir
|
# Create symbolic links in the user's home dir
|
||||||
for file in $FILES
|
for file in $FILES
|
||||||
do
|
do
|
||||||
ln -s -T $SCRIPTPATH/$file .$file
|
ln -s -t $HOME .$file
|
||||||
mv .$file $HOME
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue