From: Frank Terbeck Date: Mon, 8 Nov 2010 15:55:32 +0000 (+0100) Subject: zshrc: Fix functions path in /usr/share X-Git-Tag: v0.3.84~2 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=48a14371ae6e0a0ff6264ed826457b178cf950cb zshrc: Fix functions path in /usr/share --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index da60016..40f58d5 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -513,7 +513,7 @@ fi isdarwin && xsource /sw/bin/init.sh # load our function and completion directories -for fdir in /usr/share/grml/zsh/completion /usr/share/grml/functions; do +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 for func in ${fdir}/**/[^_]*[^~](N.) ; do