Commit 2fca0662 authored by Frank Terbeck's avatar Frank Terbeck

zrcautoload: Initialise the right parameter

…must have been in there since forever.
parent 85919426
......@@ -367,7 +367,7 @@ function zrcautoload() {
local fdir ffile
local -i ffound
ffile=$1
(( found = 0 ))
(( ffound = 0 ))
for fdir in ${fpath} ; do
[[ -e ${fdir}/${ffile} ]] && (( ffound = 1 )) && break
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment