diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-08-25 11:35:33 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-08-25 11:35:33 -0300 |
commit | 84a1e7e56ed065cc4dadd8e8021694cf79b7eddd (patch) | |
tree | 4ffc6302cc3f6d83a049cdeab95515b025349efd /lib | |
parent | e4166898f016fc2eb4e625bd1e95f5736ec6226b (diff) | |
download | keyringer-84a1e7e56ed065cc4dadd8e8021694cf79b7eddd.tar.gz keyringer-84a1e7e56ed065cc4dadd8e8021694cf79b7eddd.tar.bz2 |
Minor cleanup at zsh completion
Diffstat (limited to 'lib')
-rw-r--r-- | lib/keyringer/completions/zsh/_keyringer | 10 |
1 files changed, 3 insertions, 7 deletions
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 |