mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +01:00
unposted: _chmod: Adjust _guard pattern
Per off-list feedback from Daniel, use a more context-specific pattern
This commit is contained in:
parent
dc2d8d9c26
commit
fa92c6a1af
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2019-03-24 dana <dana@dana.is>
|
||||
|
||||
* unposted: Completion/Unix/Command/_chmod: Adjust _guard pattern
|
||||
|
||||
2019-03-22 dana <dana@dana.is>
|
||||
|
||||
* unposted: Completion/Unix/Command/_chmod: Use _guard for mode
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ case "$variant" in
|
|||
args=(
|
||||
'-R[change files and directories recursively]'
|
||||
'-s[enable paranoid behavior]'
|
||||
'1: :_guard "^-*" "octal mode"'
|
||||
'1: :_guard "[0-7]#" "octal mode"'
|
||||
'*: :->files'
|
||||
)
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue