aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-04-10 13:53:02 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-04-10 13:53:02 +0800
commit280a1a84e4ebcf38ee24ef052e483afdc7c51d72 (patch)
treeb308ab8b3641f9a9004c8ab2846f9c65d1817fab /zsh
parent280208cd6a0d070151c8bd183b04e51fe7a4515a (diff)
Improve context display
Diffstat (limited to 'zsh')
-rw-r--r--zsh/_tkc.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/_tkc.zsh b/zsh/_tkc.zsh
index e640837..2e98d4f 100644
--- a/zsh/_tkc.zsh
+++ b/zsh/_tkc.zsh
@@ -1,7 +1,7 @@
1#compdef tkc 1#compdef tkc
2 2
3function _tkc() { 3function _tkc() {
4 compadd -S '' $(cut -d' ' -f1 ~/log/plan.context.md) 4 compadd -S '' $(sed -E '/^$/q' ~/log/plan.context.md | cut -d' ' -f1)
5} 5}
6 6
7_tkc 7_tkc