From 8990be01f233a2bdce6bcfba6f18a28d58e0553b Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 26 Apr 2023 11:50:41 -0500 Subject: [PATCH] don't throw unneeded error in zshplugin --- .../zsh/plugins/zexists/zexists.plugin.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/private_dot_config/zsh/plugins/zexists/zexists.plugin.zsh b/home/private_dot_config/zsh/plugins/zexists/zexists.plugin.zsh index 69ce795..f6bfaa1 100644 --- a/home/private_dot_config/zsh/plugins/zexists/zexists.plugin.zsh +++ b/home/private_dot_config/zsh/plugins/zexists/zexists.plugin.zsh @@ -30,6 +30,7 @@ function source-zshcmdd { antircfile=${rcfile:h}/anti-${rcfile:t} [ -f $antircfile ] && source $antircfile fi + echo "${rcfile:t:r} -> $?" done } @@ -43,7 +44,6 @@ function zshdir-encode { echo dir${${1//${HOME}\//}//\//-SLASH-} } - function source-zshpathd { setopt extended_glob @@ -99,5 +99,5 @@ function source-zshpathd { } -source-zshcmdd || echo >&2 'issues loading zexists.d/cmd' -source-zshpathd || echo >&2 'issues loading zexists.d/path' +source-zshcmdd +source-zshpathd