From: Bernhard Tittelbach Date: Wed, 15 Aug 2012 23:20:33 +0000 (+0200) Subject: zsh: fix typo grml functions autoload X-Git-Tag: v0.7.0~3 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=9cef3a976b0db24e79c7bbd921bf7cc75f74e312;hp=78d890c776564875326d0ab41e8ed80ee1c6c0ab zsh: fix typo grml functions autoload --- 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