From 2539af57611244c58c4b818ce32ee9e01a6bb5df Mon Sep 17 00:00:00 2001 From: lhark Date: Tue, 1 Dec 2015 01:06:33 +0100 Subject: [PATCH] Improve install script --- install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index b5d5895..36f1cb4 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") @@ -9,6 +9,5 @@ FILES="vimrc zshrc gitconfig vim" # Create symbolic links in the user's home dir for file in $FILES do - ln -s -T $SCRIPTPATH/$file .$file - mv .$file $HOME + ln -s -t $HOME .$file done