diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-18 00:17:35 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-18 00:17:35 +0200 |
commit | b958f568200dd95e9ba0a22dc1add5c578e24a82 (patch) | |
tree | 2efb06043060c78d125ebeaf1c789151b6176d4d /provides/zsh/completions | |
parent | ef52f9a4a83d09d8ef0b2c5c7603deda55ed2531 (diff) |
Updated zsh completion
Diffstat (limited to 'provides/zsh/completions')
-rw-r--r-- | provides/zsh/completions/_envstore | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/provides/zsh/completions/_envstore b/provides/zsh/completions/_envstore index f9c31af..ddf6e4f 100644 --- a/provides/zsh/completions/_envstore +++ b/provides/zsh/completions/_envstore @@ -31,8 +31,7 @@ if (( CURRENT == 2 )) { _describe command options_nofile } } elif (( CURRENT == 3 )) { - - case ${words[2]} in + case ${words[2]} in eval) _arguments -s '2::option:(-e)' ;; @@ -45,6 +44,8 @@ if (( CURRENT == 2 )) { *) _message 'no more arguments' esac +} elif [[ $CURRENT == 4 && ${words[2]} == save ]] { + _message 'value' } else { _message 'no more arguments' } |