diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-04-14 10:07:39 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-04-14 10:07:39 +0800 |
commit | bca6ed08439a6b106b21bc37634b75a9fe6ab9cb (patch) | |
tree | d9cc762b36b761c0a59d4cc62905c9dd352fe463 /zsh/_context.zsh | |
parent | 00d2bfc1d73bc9526b23d7c95c8331dbf9528dbd (diff) |
tkc -> context
Diffstat (limited to 'zsh/_context.zsh')
-rw-r--r-- | zsh/_context.zsh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/_context.zsh b/zsh/_context.zsh new file mode 100644 index 0000000..dbb250d --- /dev/null +++ b/zsh/_context.zsh | |||
@@ -0,0 +1,7 @@ | |||
1 | #compdef context | ||
2 | |||
3 | function _context() { | ||
4 | compadd -S '' $(sed -E '/^$/q' ~/log/plan.context.md | cut -d' ' -f1) | ||
5 | } | ||
6 | |||
7 | _context | ||