mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +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
|
@ -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…
Add table
Add a link
Reference in a new issue