From: Silvio Rhatto Date: Sun, 25 Aug 2013 14:35:33 +0000 (-0300) Subject: Minor cleanup at zsh completion X-Git-Tag: 0.2.2~2 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=84a1e7e56ed065cc4dadd8e8021694cf79b7eddd;p=keyringer.git Minor cleanup at zsh completion --- diff --git a/lib/keyringer/completions/zsh/_keyringer b/lib/keyringer/completions/zsh/_keyringer index dd8775c..c8ada9b 100644 --- a/lib/keyringer/completions/zsh/_keyringer +++ b/lib/keyringer/completions/zsh/_keyringer @@ -1,13 +1,9 @@ #compdef keyringer -# TODO: how to call _git() properly? # Completion for git subcommand _keyringer_git_complete() { - ( - local CURRENT=1 - local words=($*) - echo `_git` - ) + # TODO: how to call _git() properly? + return } _keyringer() { @@ -81,7 +77,7 @@ _keyringer() { esac ;; *) - if [ $words[3] == "$git" ]; then + if [ $words[3] == "git" ]; then # TODO true fi