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:
7d0a2bc
)
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>
Mon, 18 Mar 2013 20:54:31 +0000
(21:54 +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
04443a8
..
ac83984
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
}