From dcb2cc0e8b4c50b57eff9fea889acaeafb1c1569 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 20 Apr 2008 16:28:30 +0000 Subject: William Scott: users/12793: extra chflags --- ChangeLog | 5 +++++ Completion/BSD/Command/_chflags | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5d6b7a124..5c971c1ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-20 Peter Stephenson + + * users/12793: William Scott: Completion/BSD/Command/_chflags: + hidden/nohidden flags. + 2008-04-20 Andrey Borzenkov * 24851: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: support diff --git a/Completion/BSD/Command/_chflags b/Completion/BSD/Command/_chflags index 6d5b6e973..c9f26249d 100644 --- a/Completion/BSD/Command/_chflags +++ b/Completion/BSD/Command/_chflags @@ -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]' -- cgit 1.4.1