diff options
author | Oliver Kiddle <opk@zsh.org> | 2017-10-28 23:21:35 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2017-10-28 23:21:35 +0200 |
commit | de425db94f71cf0853b2abe446f46f177675c0cb (patch) | |
tree | f19076eaedea759d0399f156dabf2a3b5628a2e9 | |
parent | 1a5d8a6916667819ba09a247c90b1ced5e186464 (diff) | |
download | zsh-de425db94f71cf0853b2abe446f46f177675c0cb.tar.gz zsh-de425db94f71cf0853b2abe446f46f177675c0cb.tar.xz zsh-de425db94f71cf0853b2abe446f46f177675c0cb.zip |
41927: complete "typeset -p"'s optional argument for multi-line output
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Zsh/Command/_typeset | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 81fa562dc..2183e0dec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-10-28 Oliver Kiddle <opk@zsh.org> + + * 41927: Completion/Zsh/Command/_typeset: complete + "typeset -p"'s optional argument for multi-line output + 2017-10-25 Alexey Sokolov <sokolov@google.com> * 41952: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: Use diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset index 160150234..fb9e3ab5e 100644 --- a/Completion/Zsh/Command/_typeset +++ b/Completion/Zsh/Command/_typeset @@ -30,7 +30,7 @@ allargs=( k "($popts -w -z)-+k[mark function for ksh-style autoloading]" l "($popts -T)-l[convert the value to lowercase]" m '(-A -E -F -T -i)-m[treat arguments as patterns]' - p '-p[output parameters in form of calls to typeset]' + p '-p+[output parameters in form of calls to typeset]:option:((1\:multi-line\ output\ of\ arrays))' r '(-f)-+r[mark parameters as readonly]' rf '-r[remember autoload path]' Rf '-R[remember autoload path, error if not found]' |