1
0
Fork 0
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:
dana 2019-03-24 23:52:22 -05:00
parent dc2d8d9c26
commit fa92c6a1af
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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'
)
;;