From fe6aa2b61878209afc8e9fcf80b0c8bdda1747ce Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 27 Sep 2012 11:48:48 +0200 Subject: [PATCH] zshrc: use variable ffound in zrcautoload function Acked-by: Frank Terbeck --- etc/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 4e7ef09..89b64bf 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -242,7 +242,7 @@ function zrcautoload() { local -i ffound ffile=$1 - (( found = 0 )) + (( ffound = 0 )) for fdir in ${fpath} ; do [[ -e ${fdir}/${ffile} ]] && (( ffound = 1 )) done -- 2.1.4