diff options
author | Frankie McGough <fmcgough@live.co.uk> | 2016-09-17 12:41:13 +0100 |
---|---|---|
committer | Frankie McGough <fmcgough@live.co.uk> | 2016-09-17 12:41:13 +0100 |
commit | 4e591803530483c2fa10bccb7e3c6bea42d1e31d (patch) | |
tree | fa5e5c291606832b75ce50631e342ce092f19a9b | |
parent | e9ae433498e5926e45eaded5934315d51e2edf6a (diff) | |
download | cbt-4e591803530483c2fa10bccb7e3c6bea42d1e31d.tar.gz cbt-4e591803530483c2fa10bccb7e3c6bea42d1e31d.tar.bz2 cbt-4e591803530483c2fa10bccb7e3c6bea42d1e31d.zip |
Shell completion for zsh
-rwxr-xr-x | shell-integration/cbt-completions.zsh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shell-integration/cbt-completions.zsh b/shell-integration/cbt-completions.zsh new file mode 100755 index 0000000..d11307d --- /dev/null +++ b/shell-integration/cbt-completions.zsh @@ -0,0 +1,7 @@ +#! /usr/bin/env zsh + +_cbt() { + reply=( "${(ps:\n:)$(cbt taskNames)}" ) +} + +compctl -K _cbt cbt |