omodules
This commit is contained in:
parent
7936a18d7f
commit
1b869f8e6a
2 changed files with 3 additions and 3 deletions
|
@ -55,11 +55,11 @@ function omodload {
|
|||
if (( $? == 0 )); then
|
||||
zstyle ":omz:module:$omodule" loaded 'yes'
|
||||
# Add functions to fpath.
|
||||
fpath=(${omodule:+${OMZ}/modules/${^omodule}/functions(/FN)} $fpath)
|
||||
fpath=(${omodules:+${OMZ}/modules/${^omodules}/functions(/FN)} $fpath)
|
||||
|
||||
# Load Oh My Zsh functions.
|
||||
for ofunction in \
|
||||
$OMZ/modules/${^omodule}/functions/^([_.]*|prompt_*_setup|README*)(.N:t)
|
||||
$OMZ/modules/${^omodules}/functions/^([_.]*|prompt_*_setup|README*)(.N:t)
|
||||
do
|
||||
autoload -Uz "$ofunction"
|
||||
done
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 8b89dd9d10e86313f49fafdf88e8540f97346f33
|
||||
Subproject commit 39e26ca01fabcaa6f20d4638f56f9866a82f2b1f
|
Loading…
Add table
Reference in a new issue