From ec0c803091007e616ea58f925fc425ca3e1f1a68 Mon Sep 17 00:00:00 2001 From: Kevin Zhuang Date: Wed, 27 Jan 2021 17:22:36 +1100 Subject: [PATCH] fix(completion): remove unnecessary args for zsh. Closes #26 --- dotbare.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotbare.plugin.zsh b/dotbare.plugin.zsh index e1867c9..6412abe 100644 --- a/dotbare.plugin.zsh +++ b/dotbare.plugin.zsh @@ -140,11 +140,11 @@ __dotbare_completion() { } _dotbare_completion_cmd() { - local compdef_name="${1:-dotbare}" + local compdef_name="dotbare" compdef __dotbare_completion "${compdef_name}" } _dotbare_completion_git() { - local compdef_name="${1:-dotbare}" + local compdef_name="dotbare" compdef "${compdef_name}"=git }