don't throw unneeded error in zshplugin
This commit is contained in:
parent
19799d7b1e
commit
8990be01f2
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue