Skip to content

Commit

Permalink
zshrc: use variable ffound in zrcautoload function
Browse files Browse the repository at this point in the history
Acked-by: Frank Terbeck <ft@bewatermyfriend.org>
  • Loading branch information
mika committed Sep 27, 2012
1 parent 88b8704 commit fe6aa2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/zsh/zshrc
Expand Up @@ -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
Expand Down

0 comments on commit fe6aa2b

Please sign in to comment.