1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

unposted: zstyle: Add a unit test and some comments.

This commit is contained in:
Daniel Shahaf 2019-12-01 03:59:39 +00:00
parent 4bb8c937d8
commit 2acbae3bad
3 changed files with 29 additions and 3 deletions

View file

@ -141,3 +141,13 @@
>scalar-style
> :ztst:context:* second-scalar-value
(zstyle 'ctx?' foo one
zstyle 'ctx*' foo two
zstyle -s 'ctx1' foo bar && print $bar)
(zstyle 'ctx*' foo two
zstyle 'ctx?' foo one
zstyle -s 'ctx1' foo bar && print $bar)
0:patterns of equal weight are used in order of definition
>one
>two