summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-10-10 19:31:07 +0000
committerClint Adams <clint@users.sourceforge.net>2001-10-10 19:31:07 +0000
commit414f028ed998a0e3f8666bb4bb763104cd4a0b91 (patch)
tree85ca750d2995689ada2218dca4ea99a0f0bdcd0d /Completion/Unix
parent4d1d676dbaf674ed713ae3ecc3afee216d77e00b (diff)
downloadzsh-414f028ed998a0e3f8666bb4bb763104cd4a0b91.tar.gz
zsh-414f028ed998a0e3f8666bb4bb763104cd4a0b91.tar.xz
zsh-414f028ed998a0e3f8666bb4bb763104cd4a0b91.zip
16005: Completion/Unix/Command/_mount: check /etc/filesystems under Linux.
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_mount10
1 files changed, 6 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_mount b/Completion/Unix/Command/_mount
index a5a88f912..f74488267 100644
--- a/Completion/Unix/Command/_mount
+++ b/Completion/Unix/Command/_mount
@@ -559,11 +559,13 @@ if [[ "$service" = mount ]]; then
       ':dev or dir:->devordir'
       ':mount point:_files -/'
     )
-    fss=( minix ext ext2 xiafs hpfs msdos umsdos vfat proc nfs iso9660
-          smbfs ncpfs affs ufs romfs sysv adfs autofs coda devpts efs
-          hfs ntfs qnx4 smbfs udf ext3 xfs reiserfs )
+    typeset -aU fss
+    fss=( adfs bfs cramfs ext2 ext3 hfs hpfs iso9660 minix ntfs qnx4
+          reiserfs romfs swap udf ufs vxfs xfs xiafs )
     [[ -r /proc/filesystems ]] &&
-        fss=( ${$(</proc/filesystems)#nodev} )
+        fss=( $fss ${$(</proc/filesystems)#nodev} )
+    [[ -r /etc/filesystems ]] &&
+        fss=( $fss ${$(</etc/filesystems)#nodev} )
     ;;
   osf*)
     args=( -s