diff options
-rw-r--r-- | Completion/BSD/Command/_chflags | 2 | ||||
-rw-r--r-- | Completion/Unix/Type/_file_systems | 4 |
2 files changed, 5 insertions, 1 deletions
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 ) |