Skip to content

Commit

Permalink
[Fix ohmyzsh#128] Ignore README files in $fpath
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu committed Apr 11, 2012
1 parent 000b365 commit 416bdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.zsh
Expand Up @@ -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
Expand Down

0 comments on commit 416bdfc

Please sign in to comment.