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:
1a4bd46
)
zshrc: $reswords is an array *not* a hash...
author
Frank Terbeck
<ft@grml.org>
Thu, 20 Dec 2007 21:21:36 +0000
(22:21 +0100)
committer
Frank Terbeck
<ft@grml.org>
Thu, 20 Dec 2007 21:21:36 +0000
(22:21 +0100)
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
7ca68cf
..
d7f98e3
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-116,10
+116,10
@@
check_com() {
return 1
fi
- if [[ -n ${commands[$1]} ]] \
- || [[ -n ${functions[$1]} ]] \
- || [[ -n ${aliases[$1]} ]] \
- || [[ -n ${reswords[
$1]}
]] ; then
+ if [[ -n ${commands[$1]}
]] \
+ || [[ -n ${functions[$1]}
]] \
+ || [[ -n ${aliases[$1]}
]] \
+ || [[ -n ${reswords[
(r)$1]}
]] ; then
return 0
fi