summaryrefslogtreecommitdiff
path: root/provides/zsh/completions/_envstore
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-11-02 21:21:10 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-11-02 21:23:19 +0100
commit20bcc774686078cf7f5c58ef058ca2458b01086d (patch)
treed1f9e6a90285db10bf28a2abecc1ef610ef64838 /provides/zsh/completions/_envstore
parent3c5e9f4f828c76de5824cf7ac440aa0cda45ccaf (diff)
Rewrite in C, release v2.0 (from branch 'v2')2.0
Diffstat (limited to 'provides/zsh/completions/_envstore')
-rw-r--r--provides/zsh/completions/_envstore8
1 files changed, 4 insertions, 4 deletions
diff --git a/provides/zsh/completions/_envstore b/provides/zsh/completions/_envstore
index 6124867..5851362 100644
--- a/provides/zsh/completions/_envstore
+++ b/provides/zsh/completions/_envstore
@@ -21,7 +21,7 @@ options_nofile=(
function _saved_param () {
_wanted parameter expl 'saved parameter' \
- compadd $(envstore eval -e | cut -d ' ' -f 2 | cut -d '=' -f 1)
+ compadd $(envstore eval | cut -d ' ' -f 2 | cut -d '=' -f 1)
}
if (( CURRENT == 2 )) {
@@ -32,13 +32,13 @@ if (( CURRENT == 2 )) {
}
} elif (( CURRENT == 3 )) {
case ${words[2]} in
- eval)
+ e*)
_arguments -s '2::option:(-e)'
;;
- rm)
+ r*)
_saved_param
;;
- save)
+ s*)
_parameters -g '(scalar|integer)*export*'
;;
*)