Use -f instead of -e option for readlink to

Fixed #38
This commit is contained in:
Michael Robinson 2015-01-09 08:38:59 +13:00
parent d76af3c076
commit 89b85d88cc

View file

@ -8,7 +8,7 @@ if [ ! -r ~/.zshrc ]; then
exit 1
fi
DIR=$(dirname $(readlink -e $0)) ;
DIR=$(dirname $(readlink -f $0)) ;
# appends the string to ~/.zshrc file
cat >> ~/.zshrc << EOF