diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-04-10 13:53:02 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-04-10 13:53:02 +0800 |
commit | 280a1a84e4ebcf38ee24ef052e483afdc7c51d72 (patch) | |
tree | b308ab8b3641f9a9004c8ab2846f9c65d1817fab /zsh | |
parent | 280208cd6a0d070151c8bd183b04e51fe7a4515a (diff) |
Improve context display
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/_tkc.zsh | 2 |
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 | ||
3 | function _tkc() { | 3 | function _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 |