diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-17 10:55:19 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-17 10:55:19 +0200 |
commit | ff05ddb0bf50fb2f93693b1e19cdf35786086809 (patch) | |
tree | 505ccca8a7526fb0608e7b3ff9858e41aa0e3b28 /etc/completions/_envstore | |
parent | 7c1c72e60a446ac1c31421ccf1a485636e04dbec (diff) |
Moved zsh completions to their respective packages
Diffstat (limited to 'etc/completions/_envstore')
-rw-r--r-- | etc/completions/_envstore | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/etc/completions/_envstore b/etc/completions/_envstore deleted file mode 100644 index 7df2b3c..0000000 --- a/etc/completions/_envstore +++ /dev/null @@ -1,31 +0,0 @@ -#compdef envstore -## vim:ft=zsh -## completion for envstore release-3 -## Daniel Friesel <derf@derf.homelinux.org> -## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_envstore -## see also: http://git.cloudconnected.org/?p=envstore.git;a=summary - -local arguments_action arguments_save arguments_rm arguments_eval - -arguments_action=( - '1:action:(clear eval rm save show)' -) -arguments_save=( - '2:variable:_parameters -g \*-export' -) -arguments_rm=( - '2:variable:($(envstore eval -e | cut -d " " -f 2 | cut -d "=" -f 1))' -) -arguments_eval=( - '2::option:(-e)' -) - -if [[ $CURRENT -ge 3 ]] { - case ${words[2]} in - eval) _arguments -s $arguments_eval ;; - rm) _arguments -s $arguments_rm ;; - save) _arguments -s $arguments_save ;; - esac -} else { - _arguments -s $arguments_action -} |