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:
1e990f9
)
Test the correct parameter for non-emptiness
author
Frank Terbeck
<ft@grml.org>
Sun, 5 Feb 2017 20:04:50 +0000
(21:04 +0100)
committer
Frank Terbeck
<ft@grml.org>
Sun, 5 Feb 2017 20:04:50 +0000
(21:04 +0100)
I introduced this myself, when I adjusted Thilo's code.
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
48ae2e9
..
1ffc6f2
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-618,7
+618,7
@@
for fdir in /usr/share/grml/zsh/completion /usr/share/grml/zsh/functions; do
done
typeset -aU ffiles
ffiles=(/usr/share/grml/zsh/functions/**/[^_]*[^~](N.:t))
-(( ${#files} > 0 )) && autoload -U "${ffiles[@]}"
+(( ${#f
f
iles} > 0 )) && autoload -U "${ffiles[@]}"
unset -v fdir ffiles
# support colors in less