From 9b19f4fee9cffbf6816417f0dbbfe984d043cb01 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 21 Mar 2023 13:52:22 +0800 Subject: Improve zsh completion --- bin/task/shellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/task') diff --git a/bin/task/shellrc b/bin/task/shellrc index 6f2e5d3..a7025d0 100644 --- a/bin/task/shellrc +++ b/bin/task/shellrc @@ -3,7 +3,7 @@ tk() { task rc.context=`cat ~/.task/context` $@; } tkc(){ echo $1 >~/.task/context; } tkcn() { echo none >~/.task/context; } tkch() { echo home >~/.task/context; } -[ $shell = zsh ] && compdef tk=task +[ "$shell" = zsh ] && compdef tk=task alias tka='tk annotate' alias tkd='tk done' alias tkD='tk delete' -- cgit v1.2.3-70-g09d2