Browse Source

[Fix #128] Ignore README files in $fpath

master
Sorin Ionescu 13 years ago
parent
commit
416bdfcd08
  1. 2
      helper.zsh

2
helper.zsh

@ -36,7 +36,7 @@ function omodload {
fpath=(${argv:+${OMZ}/modules/${^argv}/functions(/FN)} $fpath) fpath=(${argv:+${OMZ}/modules/${^argv}/functions(/FN)} $fpath)
# Load Oh My Zsh functions. # 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" autoload -Uz "$ofunction"
done done
unset ofunction unset ofunction

Loading…
Cancel
Save