|
|
@ -55,11 +55,11 @@ function omodload {
|
|
|
|
if (( $? == 0 )); then
|
|
|
|
if (( $? == 0 )); then
|
|
|
|
zstyle ":omz:module:$omodule" loaded 'yes'
|
|
|
|
zstyle ":omz:module:$omodule" loaded 'yes'
|
|
|
|
# Add functions to fpath.
|
|
|
|
# Add functions to fpath.
|
|
|
|
fpath=(${omodules:+${OMZ}/modules/${^omodules}/functions(/FN)} $fpath)
|
|
|
|
fpath=(${omodule:+${OMZ}/modules/${^omodule}/functions(/FN)} $fpath)
|
|
|
|
|
|
|
|
|
|
|
|
# Load Oh My Zsh functions.
|
|
|
|
# Load Oh My Zsh functions.
|
|
|
|
for ofunction in \
|
|
|
|
for ofunction in \
|
|
|
|
$OMZ/modules/${^omodules}/functions/^([_.]*|prompt_*_setup|README*)(.N:t)
|
|
|
|
$OMZ/modules/${^omodule}/functions/^([_.]*|prompt_*_setup|README*)(.N:t)
|
|
|
|
do
|
|
|
|
do
|
|
|
|
autoload -Uz "$ofunction"
|
|
|
|
autoload -Uz "$ofunction"
|
|
|
|
done
|
|
|
|
done
|
|
|
|