diff options
| author | Philippe Altherr <philippe.altherr@gmail.com> | 2026-04-21 23:07:54 +0200 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2026-04-30 21:27:12 +0200 |
| commit | b2fb112ea602866c8f17b2a7156f00ef223dd3e9 (patch) | |
| tree | c6e7364e12e66cac7177141ca1b20aedfdd8fbcf /Test | |
| parent | github #168: complete apt history commands (diff) | |
| download | zsh-b2fb112ea602866c8f17b2a7156f00ef223dd3e9.tar zsh-b2fb112ea602866c8f17b2a7156f00ef223dd3e9.tar.gz zsh-b2fb112ea602866c8f17b2a7156f00ef223dd3e9.tar.bz2 zsh-b2fb112ea602866c8f17b2a7156f00ef223dd3e9.tar.lz zsh-b2fb112ea602866c8f17b2a7156f00ef223dd3e9.tar.xz zsh-b2fb112ea602866c8f17b2a7156f00ef223dd3e9.tar.zst zsh-b2fb112ea602866c8f17b2a7156f00ef223dd3e9.zip | |
54383: Fix WATCH/watch tying
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/V01zmodload.ztst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst index daf49cd72..ec55e0f95 100644 --- a/Test/V01zmodload.ztst +++ b/Test/V01zmodload.ztst @@ -236,6 +236,17 @@ fi 0d:Autoload a module via a math function + if [[ $mods[(r)zsh/watch] == zsh/watch ]]; then + zmodload -u zsh/watch + WATCH=foo:bar + typeset -p WATCH watch + else + ZTST_skip="zsh/watch module not available" + fi +0:Autoload tied parameters +>typeset -g -T WATCH watch=( foo bar ) +>typeset -g -aT WATCH watch=( foo bar ) + # Test module aliases zmodload -A example=zsh/example |
