Skip to content

Commit

Permalink
zshrc: Use zrcgotwidget in appropriate places
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Terbeck <ft@grml.org>
  • Loading branch information
ft committed Mar 17, 2013
1 parent 064da3c commit a33ad91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/zsh/zshrc
Expand Up @@ -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
}
Expand Down

0 comments on commit a33ad91

Please sign in to comment.