diff options
Diffstat (limited to 'Link-Them')
-rwxr-xr-x | Link-Them | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ DATE="`date +'%Y%m%d'`" DIR="`pwd`" for file in bash_profile bashrc screenrc vimrc zshrc; do - if ! [ -l "$HOME/.$file" ]; then + if ! [ -L "$HOME/.$file" ]; then [ -e "$HOME/.$file" ] && mv "$HOME/.$file" "$HOME/.$file-$DATE" ln -s "$DIR/$file" "$HOME/.$file" fi |