diff options
-rwxr-xr-x | hooks/post-up/zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/post-up/zsh b/hooks/post-up/zsh index 938701f..13f0a01 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 |