rcm: Fix logic error in zsh post-up hook
Alan Pearce alan@alanpearce.co.uk
Fri, 08 Aug 2014 12:35:07 +0100
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M hooks/post-up/zsh → hooks/post-up/zsh
@@ -4,11 +4,11 @@ pushd $ZDOTDIR for f in z*(-.) do - if [[ -e $f ]] + if [[ -e .$f ]] then if [[ ! -h .$f ]] then - echo "$f already exists as a regular file, ignoring" + echo ".$f already exists as a regular file, ignoring" fi else ln -s $f .$f