summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_mount
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-11-17 18:13:41 +0100
committerOliver Kiddle <opk@zsh.org>2023-11-17 18:13:41 +0100
commit6306dcfaa52237fbaa76eafe7bc396e68eda66ca (patch)
tree818c8bbcf932431e4d28bc5f14fc05cdd616e7b7 /Completion/Unix/Command/_mount
parentddfc81a2b81e19c13f60bfff30f28ed520df8f57 (diff)
downloadzsh-6306dcfaa52237fbaa76eafe7bc396e68eda66ca.tar.gz
zsh-6306dcfaa52237fbaa76eafe7bc396e68eda66ca.zip
52303: updates to completions for macOS 13
Diffstat (limited to 'Completion/Unix/Command/_mount')
-rw-r--r--Completion/Unix/Command/_mount8
1 files changed, 6 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_mount b/Completion/Unix/Command/_mount
index 301b9e58e..5a379b424 100644
--- a/Completion/Unix/Command/_mount
+++ b/Completion/Unix/Command/_mount
@@ -40,12 +40,13 @@ fi
# are below these table.
local curcontext="$curcontext" state line expl suf ret=1
-local args deffs=iso9660 tmp typeops=-t _nfs_access _fs_nfs _nfs_ufs \
+local deffs=iso9660 tmp typeops=-t _nfs_access _fs_nfs _nfs_ufs \
_fs_ufs _fs_efs _fs_cd9660 _fs_iso9660 _fs_cachefs _fs_s5fs _fs_tmpfs _fs_pcfs \
_fs_hsfs _fs_advfs _fs_cdfs _fs_affs _fs_ext2 _fs_fat _fs_ext3 _fs_msdos \
_fs_msdosfs _fs_umsdos _fs_vfat _fs_hpfs _fs_ntfs _fs_reiserfs _fs_smbfs \
_fs_xfs _fs_std _fs_devfs _fs_fdesc _fs_kernfs _fs_linprocfs _fs_linsysfs \
_fs_procfs _fs_btrfs _fs_ext4
+local -a args
typeset -A opt_args
@@ -735,8 +736,11 @@ if [[ "$service" = mount ]]; then
deffs=hsfs
typeops=-F
;;
+ darwin*)
+ args=( '-k[follow no symlinks in the provided mount-on directory]' )
+ ;&
freebsd*|dragonfly*|darwin*)
- args=( -s
+ args=( -s $args
'(:)-a[mount all filesystems in fstab]'
'-d[cause everything to be done except for the actual system call]'
'-f[forced mount]'