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}
|
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
|
||||||
|
|
Loading…
Reference in a new issue