X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=7f2564981594265f69c49ea31c87f1e761cc9e01;hb=a33ad91f39921a70388b0969774a2aab9491ff44;hp=b046058b2e6edef2de7c7e64ba75ae2924acde26;hpb=064da3c7556a4f7b44686b7cc29a68a41cbf634e;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index b046058..7f25649 100644 --- 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 }