From d670075375f7bee13b6a8e7b0fe601ef8eed9f86 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 8 Aug 2014 12:35:07 +0100 Subject: rcm: Fix logic error in zsh post-up hook --- hooks/post-up/zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hooks') diff --git a/hooks/post-up/zsh b/hooks/post-up/zsh index 938701fe..13f0a018 100755 --- a/hooks/post-up/zsh +++ b/hooks/post-up/zsh @@ -4,11 +4,11 @@ ZDOTDIR="${XDG_CONFIG_HOME:=~/.config}/zsh" 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 -- cgit 1.4.1