From 84a1e7e56ed065cc4dadd8e8021694cf79b7eddd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 25 Aug 2013 11:35:33 -0300 Subject: Minor cleanup at zsh completion --- lib/keyringer/completions/zsh/_keyringer | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'lib/keyringer/completions') 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 -- cgit v1.2.3