diff options
author | Alan Pearce | 2014-08-08 12:35:07 +0100 |
---|---|---|
committer | Alan Pearce | 2014-08-08 12:35:07 +0100 |
commit | d670075375f7bee13b6a8e7b0fe601ef8eed9f86 (patch) | |
tree | 3d0104e5e78d0ac7378ef904d00fb91bec721d49 /hooks/post-up | |
parent | fbd4633b01cfd64590ecb339f18f3b4ac59c4ddf (diff) | |
download | nixfiles-d670075375f7bee13b6a8e7b0fe601ef8eed9f86.tar.lz nixfiles-d670075375f7bee13b6a8e7b0fe601ef8eed9f86.tar.zst nixfiles-d670075375f7bee13b6a8e7b0fe601ef8eed9f86.zip |
rcm: Fix logic error in zsh post-up hook
Diffstat (limited to 'hooks/post-up')
-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 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 |