diff options
| author | Oliver Kiddle <opk@zsh.org> | 2021-08-27 09:42:11 +0200 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2021-08-27 09:42:11 +0200 |
| commit | 51eaf66bea68da346167e08c9ff8b4ac60c3f7da (patch) | |
| tree | d4c5bf54274dd0619580b2b46eb7b7e3750dde3d | |
| parent | 49309: update the strace completion through strace 5.13 (diff) | |
| download | zsh-51eaf66bea68da346167e08c9ff8b4ac60c3f7da.tar zsh-51eaf66bea68da346167e08c9ff8b4ac60c3f7da.tar.gz zsh-51eaf66bea68da346167e08c9ff8b4ac60c3f7da.tar.bz2 zsh-51eaf66bea68da346167e08c9ff8b4ac60c3f7da.tar.lz zsh-51eaf66bea68da346167e08c9ff8b4ac60c3f7da.tar.xz zsh-51eaf66bea68da346167e08c9ff8b4ac60c3f7da.tar.zst zsh-51eaf66bea68da346167e08c9ff8b4ac60c3f7da.zip | |
unposted (based on Marlon: 49273): add -x to local completion
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Completion/Zsh/Command/_typeset | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2021-08-27 Oliver Kiddle <opk@zsh.org> + * unposted (based on Marlon: 49273): + Completion/Zsh/Command/_typeset: add -x to local completion + * 49309: Completion/Linux/Command/_strace: update the strace completion through strace 5.13 diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset index 3f7de9706..d3304bed0 100644 --- a/Completion/Zsh/Command/_typeset +++ b/Completion/Zsh/Command/_typeset @@ -69,8 +69,8 @@ case ${service} in allargs[i]='-i+[specify arithmetic base for output]:: :_guard "[0-9]#" base' \ ;; readonly) use="${use/r/}" ;; - local) use="${use/[fkz]/}" ;& - export) use="${${use//[gkz]/}/x/}" ;; + local) use="${use//[fgkz]/}" ;; + export) use="${use//[fgkxz]/}" ;; esac [[ -z "${words[(r)-*[aA]*]}" ]] || func=p |
