summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-03-01 20:21:59 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-03-01 20:21:59 +0000
commit6a015133bd937c3cd72cde32e35fb1baae4debd6 (patch)
tree7f6a4d83ca462ac42a3f81c5f2091c4cc3338482 /Completion/Unix
parent6e50d3d7dbed4adb01f71de823dda2a6ee5442f3 (diff)
downloadzsh-6a015133bd937c3cd72cde32e35fb1baae4debd6.tar.gz
zsh-6a015133bd937c3cd72cde32e35fb1baae4debd6.tar.xz
zsh-6a015133bd937c3cd72cde32e35fb1baae4debd6.zip
Baptiste: 28819: FreeBSD completion tweaks
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_mount6
-rw-r--r--Completion/Unix/Type/_file_systems4
2 files changed, 6 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_mount b/Completion/Unix/Command/_mount
index 7334481ba..409d253ab 100644
--- a/Completion/Unix/Command/_mount
+++ b/Completion/Unix/Command/_mount
@@ -44,7 +44,8 @@ local args 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_procfs
+_fs_xfs _fs_std _fs_devfs _fs_fdesc _fs_kernfs _fs_linprocfs _fs_linsysfs \
+_fs_procfs
 
 typeset -A opt_args
 
@@ -566,6 +567,7 @@ if (( ! $+_fs_any )); then
     _fs_fdesc=( "$_fs_std[@]" )
     _fs_kernfs=( "$_fs_std[@]" )
     _fs_linprocfs=( "$_fs_std[@]" )
+    _fs_linsysfs=( "$_fs_std[@]" )
     _fs_procfs=( "$_fs_std[@]" )
     _fs_msdos=(
       'shortnames[]'
@@ -868,7 +870,7 @@ devordir)
     # add glabel devices
     _glabel=(${(M)${(f)"$(/sbin/glabel list)"}:#*Name:[[:space:]]*/*})
     for mline ($_glabel);do
-	    dev_tmp+=( mline[(w)3] )
+	    dev_tmp+=( /dev/$mline[(w)3] )
     done
 
     _alternative \
diff --git a/Completion/Unix/Type/_file_systems b/Completion/Unix/Type/_file_systems
index 26053c8ed..3415bb163 100644
--- a/Completion/Unix/Type/_file_systems
+++ b/Completion/Unix/Type/_file_systems
@@ -21,8 +21,8 @@ case $OSTYPE in
           ntfs null nwfs portal procfs std udf ufs umap union )
   ;;
   freebsd*)
-    fss=( cd9660 devfs ext2fs fdesc kernfs linprocfs mfs msdosfs nfs
-    ntfs nullfs nwfs portal procfs smbfs std udf ufs umap unionfs 
+    fss=( cd9660 devfs ext2fs fdescfs kernfs linprocfs linsysfs mfs msdosfs nfs
+    ntfs nullfs nwfs portalfs procfs smbfs std udf ufs unionfs 
     reiserfs xfs)
   ;;
   darwin*)