[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-25-gf379e92

Igor Murzov e-mail at date.by
Thu Aug 9 11:52:25 UTC 2012


The following commit has been merged in the master branch:
commit f379e9275c5a966dacd3b2bd45a5b651aae55641
Author: Igor Murzov <e-mail at date.by>
Date:   Thu Aug 9 15:50:21 2012 +0400

    mount.linux: Add options completion for davfs.

diff --git a/completions/mount.linux b/completions/mount.linux
index d1c08c5..f727b39 100644
--- a/completions/mount.linux
+++ b/completions/mount.linux
@@ -16,10 +16,10 @@ _mount()
                 split=true
             fi
             COMPREPLY=( $(compgen -W 'auto adfs affs autofs btrfs cifs coda
-                cramfs debugfs devpts efs ext2 ext3 ext4 fuse hfs hfsplus hpfs
-                iso9660 jffs2 jfs minix msdos ncpfs nfs nfs4 ntfs ntfs-3g proc
-                qnx4 ramfs reiserfs romfs squashfs smbfs sysv tmpfs ubifs udf
-                ufs umsdos usbfs vfat xfs' -- "$cur") )
+                cramfs davfs debugfs devpts efs ext2 ext3 ext4 fuse hfs hfsplus
+                hpfs iso9660 jffs2 jfs minix msdos ncpfs nfs nfs4 ntfs ntfs-3g
+                proc qnx4 ramfs reiserfs romfs squashfs smbfs sysv tmpfs ubifs
+                udf ufs umsdos usbfs vfat xfs' -- "$cur") )
             _fstypes
             $split && COMPREPLY=( ${COMPREPLY[@]/#/$prev,} )
             return
@@ -101,6 +101,10 @@ _mount()
                     nobrl sfu {,no}serverino nounix nouser_xattr {r,w}size=
                     rwpidforward backup{u,g}id cache=' -- "$cur") )
                 ;;&
+            davfs|auto)
+                COMPREPLY+=( $(compgen -W 'conf= {file,dir}_mode= {u,g}id=
+                    username=' -- "$cur") )
+                ;;&
             ext[2-4]|auto)
                 COMPREPLY+=( $(compgen -W '{,no}acl bsddf minixdf check= debug
                     errors= {,no}grpid {bsd,sysv}groups {,no,usr,grp}quota

-- 
bash-completion



More information about the Bash-completion-commits mailing list