diff options
author | Bart Schaefer <schaefer@ipost.com> | 2021-04-10 14:26:46 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@ipost.com> | 2021-04-10 14:26:46 -0700 |
commit | 408a83048366a22bf7645b71bee7428743793736 (patch) | |
tree | 993f2e154dda94aa953c74450870eee9adc9968b /Doc/Zsh/options.yo | |
parent | 1bec15a0105c7884c1a6d1243087ebcc801a5937 (diff) | |
download | zsh-408a83048366a22bf7645b71bee7428743793736.tar.gz zsh-408a83048366a22bf7645b71bee7428743793736.tar.xz zsh-408a83048366a22bf7645b71bee7428743793736.zip |
47913: implement CASE_PATHS option to make NO_CASE_GLOB more sensible
Diffstat (limited to 'Doc/Zsh/options.yo')
-rw-r--r-- | Doc/Zsh/options.yo | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index b3bf11f5c..714e8a1a1 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -474,6 +474,22 @@ item(tt(CASE_MATCH) <D>)( Make regular expressions using the tt(zsh/regex) module (including matches with tt(=~)) sensitive to case. ) +pindex(CASE_PATHS) +pindex(NO_CASE_PATHS) +pindex(CASEPATHS) +pindex(NOCASEPATHS) +cindex(case-sensitive globbing, option) +item(tt(CASE_PATHS))( +If tt(CASE_PATHS) is not set (the default), tt(CASE_GLOB) affects the +interpretation of em(every) path component, whenever a special +character appears in em(any) component. When tt(CASE_PATHS) is set, +file path components that do em(not) contain special filename +generation characters are always sensitive to case, thus restricting +tt(NO_CASE_GLOB) to components that contain globbing characters. + +Note that if the filesystem itself is not sensitive to case, then +tt(CASE_PATHS) has no effect. +) pindex(CSH_NULL_GLOB) pindex(NO_CSH_NULL_GLOB) pindex(CSHNULLGLOB) |