mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-19 03:31:14 +02:00
William Scott: users/12793: extra chflags
This commit is contained in:
parent
79ea3a1717
commit
dcb2cc0e8b
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-04-20 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* users/12793: William Scott: Completion/BSD/Command/_chflags:
|
||||
hidden/nohidden flags.
|
||||
|
||||
2008-04-20 Andrey Borzenkov <bor@zsh.org>
|
||||
|
||||
* 24851: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: support
|
||||
|
|
|
@ -29,6 +29,8 @@ if [[ $OSTYPE = (freebsd|dragonfly|darwin)* ]]; then
|
|||
flags=( $flags[@]
|
||||
'(nouunlnk)uunlnk[set the user undeletable flag]'
|
||||
'(uunlnk)nouunlnk[unset the user undeletable flag]'
|
||||
'(nohidden)hidden[set the hidden flag]'
|
||||
'(hidden)nohidden[unset the hidden flag]'
|
||||
)
|
||||
(( EUID )) || flags=( $flags[@]
|
||||
'(nosunlnk)sunlnk[set the system undeletable flag]'
|
||||
|
|
Loading…
Reference in a new issue