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:
parent
4bb8c937d8
commit
2acbae3bad
3 changed files with 29 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue