X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=ac83984df3cabcc03a61ca67e348733ce87a2ae5;hb=00522c85207a8b18f7ae5976b3ce78f53f5fb484;hp=04443a8c5d667145a7b517e6de434f0d4d9bd798;hpb=7d0a2bc18024464ea22036d22a85706895ba7beb;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 04443a8..ac83984 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 }