aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/keyringer/completions/zsh/_keyringer10
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