projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88b8704
)
zshrc: use variable ffound in zrcautoload function
author
Michael Prokop
<mika@grml.org>
Thu, 27 Sep 2012 09:48:48 +0000
(11:48 +0200)
committer
Michael Prokop
<mika@grml.org>
Thu, 27 Sep 2012 09:56:24 +0000
(11:56 +0200)
Acked-by: Frank Terbeck <ft@bewatermyfriend.org>
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
4e7ef09
..
89b64bf
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-242,7
+242,7
@@
function zrcautoload() {
local -i ffound
ffile=$1
- (( found = 0 ))
+ (( f
f
ound = 0 ))
for fdir in ${fpath} ; do
[[ -e ${fdir}/${ffile} ]] && (( ffound = 1 ))
done