don't throw unneeded error in zshplugin

This commit is contained in:
Daylin Morgan 2023-04-26 11:50:41 -05:00
parent 19799d7b1e
commit 8990be01f2
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -30,6 +30,7 @@ function source-zshcmdd {
antircfile=${rcfile:h}/anti-${rcfile:t} antircfile=${rcfile:h}/anti-${rcfile:t}
[ -f $antircfile ] && source $antircfile [ -f $antircfile ] && source $antircfile
fi fi
echo "${rcfile:t:r} -> $?"
done done
} }
@ -43,7 +44,6 @@ function zshdir-encode {
echo dir${${1//${HOME}\//}//\//-SLASH-} echo dir${${1//${HOME}\//}//\//-SLASH-}
} }
function source-zshpathd { function source-zshpathd {
setopt extended_glob setopt extended_glob
@ -99,5 +99,5 @@ function source-zshpathd {
} }
source-zshcmdd || echo >&2 'issues loading zexists.d/cmd' source-zshcmdd
source-zshpathd || echo >&2 'issues loading zexists.d/path' source-zshpathd