From 8fc531b05e0f70f3148fde8bf1f9049136f5d236 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 14 Mar 2016 22:09:58 +0100 Subject: removed zsh --- zsh/functions/_boom | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 zsh/functions/_boom (limited to 'zsh/functions/_boom') diff --git a/zsh/functions/_boom b/zsh/functions/_boom deleted file mode 100644 index 74e5d4e..0000000 --- a/zsh/functions/_boom +++ /dev/null @@ -1,29 +0,0 @@ -#compdef boom - -local state line cmds ret=1 - -_arguments -C '1: :->cmds' '*: :->args' - -case $state in - cmds) - local -a cmds - cmds=( - 'all:show all items in all lists' - 'edit:edit the boom JSON file in $EDITOR' - 'help:help text' - ) - _describe -t commands 'boom command' cmds && ret=0 - _values 'lists' $(boom | awk '{print $1}') - ;; - args) - case $line[1] in - (boom|all|edit|help) - ;; - *) - _values 'items' `boom $line[1] | awk '{print $1}' | sed -e 's/://'` 2>/dev/null && ret=0 - ;; - esac - ;; -esac - -return ret -- cgit v1.2.3