X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=4f0da7edec7913748ce5761514d0b9bfdde07645;hp=b7cb2e5f353210b6dc0b74df7188ec35b5159644;hb=9cef3a976b0db24e79c7bbd921bf7cc75f74e312;hpb=78d890c776564875326d0ab41e8ed80ee1c6c0ab diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index b7cb2e5..4f0da7e 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -555,7 +555,7 @@ isdarwin && xsource /sw/bin/init.sh # load our function and completion directories for fdir in /usr/share/grml/zsh/completion /usr/share/grml/zsh/functions; do fpath=( ${fdir} ${fdir}/**/*(/N) ${fpath} ) - if [[ ${fpath} == '/usr/share/grml/zsh/functions' ]] ; then + if [[ ${fdir} == '/usr/share/grml/zsh/functions' ]] ; then for func in ${fdir}/**/[^_]*[^~](N.) ; do zrcautoload ${func:t} done