1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-04 09:01:06 +01:00

16005: Completion/Unix/Command/_mount: check /etc/filesystems under Linux.

This commit is contained in:
Clint Adams 2001-10-10 19:31:07 +00:00
parent 4d1d676dba
commit 414f028ed9
2 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2001-10-10 Clint Adams <clint@zsh.org>
* 16005: Completion/Unix/Command/_mount:
check /etc/filesystems under Linux.
2001-10-10 Oliver Kiddle <opk@zsh.org>
* 16xxx: acconfig.h, zshconfig.ac, Etc/MACHINES,

View file

@ -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