aboutsummaryrefslogtreecommitdiff
path: root/shell-integration
diff options
context:
space:
mode:
authorFrankie McGough <fmcgough@live.co.uk>2016-09-17 12:41:13 +0100
committerFrankie McGough <fmcgough@live.co.uk>2016-09-17 12:41:13 +0100
commit4e591803530483c2fa10bccb7e3c6bea42d1e31d (patch)
treefa5e5c291606832b75ce50631e342ce092f19a9b /shell-integration
parente9ae433498e5926e45eaded5934315d51e2edf6a (diff)
downloadcbt-4e591803530483c2fa10bccb7e3c6bea42d1e31d.tar.gz
cbt-4e591803530483c2fa10bccb7e3c6bea42d1e31d.tar.bz2
cbt-4e591803530483c2fa10bccb7e3c6bea42d1e31d.zip
Shell completion for zsh
Diffstat (limited to 'shell-integration')
-rwxr-xr-xshell-integration/cbt-completions.zsh7
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