From b0ec3d3ec5a1a472f090ac2a9c1b228e7c6e0e6b Mon Sep 17 00:00:00 2001 From: Paul Ackersviller Date: Sun, 25 Nov 2007 04:21:27 +0000 Subject: Merge of 23814: fixes for Darwin. --- Completion/BSD/Command/_chflags | 2 +- Completion/Unix/Type/_file_systems | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/BSD/Command/_chflags b/Completion/BSD/Command/_chflags index d6bcfe4b3..6d5b6e973 100644 --- a/Completion/BSD/Command/_chflags +++ b/Completion/BSD/Command/_chflags @@ -25,7 +25,7 @@ if (( ! EUID )); then unset own fi -if [[ $OSTYPE = (freebsd|dragonfly)* ]]; then +if [[ $OSTYPE = (freebsd|dragonfly|darwin)* ]]; then flags=( $flags[@] '(nouunlnk)uunlnk[set the user undeletable flag]' '(uunlnk)nouunlnk[unset the user undeletable flag]' diff --git a/Completion/Unix/Type/_file_systems b/Completion/Unix/Type/_file_systems index ffbf5ac68..fd75e2fa5 100644 --- a/Completion/Unix/Type/_file_systems +++ b/Completion/Unix/Type/_file_systems @@ -20,6 +20,10 @@ case $OSTYPE in fss=( cd9660 devfs ext2fs fdesc kernfs linprocfs mfs msdos nfs ntfs null nwfs portal procfs std udf ufs umap union ) ;; + darwin*) + fss=( afp cd9660 cddafs devfs fdesc hfs lfs msdos nfs + ntfs smbfs synthfs udf ufs volfs webdav ) + ;; *) # default for all other systems fss=( ufs ) -- cgit 1.4.1