From a33ad91f39921a70388b0969774a2aab9491ff44 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Sun, 17 Mar 2013 18:07:10 +0100 Subject: [PATCH] zshrc: Use zrcgotwidget in appropriate places Signed-off-by: Frank Terbeck --- etc/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.1.4