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
(from parent 1:
064da3c
)
zshrc: Use zrcgotwidget in appropriate places
author
Frank Terbeck
<ft@grml.org>
Sun, 17 Mar 2013 17:07:10 +0000
(18:07 +0100)
committer
Frank Terbeck
<ft@grml.org>
Sun, 17 Mar 2013 17:11:43 +0000
(18:11 +0100)
Signed-off-by: Frank Terbeck <ft@grml.org>
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
b046058
..
7f25649
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-1313,7
+1313,7
@@
zstyle ':completion:hist-complete:*' completer _history
typeset -ga grml_missing_features
function zrcbindkey() {
- if (( ARGC
&& ${+widgets[${argv[-1]}]} ))
; then
+ if (( ARGC
)) && zrcgotwidget ${argv[-1]}
; then
bindkey "$@"
fi
}