mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-02 18:59:26 +00:00
[Fix #128] Ignore README files in $fpath
This commit is contained in:
@ -36,7 +36,7 @@ function omodload {
|
||||
fpath=(${argv:+${OMZ}/modules/${^argv}/functions(/FN)} $fpath)
|
||||
|
||||
# Load Oh My Zsh functions.
|
||||
for ofunction in $OMZ/modules/${^argv}/functions/^([_.]*|prompt_*_setup)(.N:t); do
|
||||
for ofunction in $OMZ/modules/${^argv}/functions/^([_.]*|prompt_*_setup|README*)(.N:t); do
|
||||
autoload -Uz "$ofunction"
|
||||
done
|
||||
unset ofunction
|
||||
|
Reference in New Issue
Block a user