[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-79-g74a37e7

Igor Murzov e-mail at date.by
Tue Dec 4 16:21:44 UTC 2012


The following commit has been merged in the master branch:
commit 4a76f5a16646ef3c0407e092a66f9f35e273ff81
Author: Igor Murzov <e-mail at date.by>
Date:   Tue Dec 4 20:00:57 2012 +0400

    mount.linux: Add options completion for nfs.

diff --git a/completions/mount.linux b/completions/mount.linux
index f727b39..aec8c53 100644
--- a/completions/mount.linux
+++ b/completions/mount.linux
@@ -144,6 +144,20 @@ _mount()
                 COMPREPLY+=( $(compgen -W 'iocharset= resize= {,no}integrity
                     errors= {,no,usr,grp}quota' -- "$cur") )
                 ;;&
+            nfs|nfs4|auto)
+                COMPREPLY+=( $(compgen -W 'soft hard timeo= retrans= {r,w}size=
+                    {,no}ac acreg{min,max}= acdir{min,max}= actimeo= bg fg
+                    retry= sec= {,no}sharecache {,no}resvport lookupcache=
+                    proto= port= {,no}intr {,no}cto  {,nfs}vers= ' -- "$cur") )
+                ;;&
+            nfs|auto)
+                COMPREPLY+=( $(compgen -W 'udp tcp rdma mount{port,proto,host}=
+                    mountvers= namlen={,no}lock {,no}acl {,no}rdirplus
+                    {,no}fsc' -- "$cur") )
+                ;;&
+            nfs4|auto)
+                COMPREPLY+=( $(compgen -W 'clientaddr=' -- "$cur") )
+                ;;&
             ntfs-3g)
                 COMPREPLY+=( $(compgen -W '{u,g}id= {u,f,d}mask= usermapping=
                     permissions inherit locale= force {,no}recover

-- 
bash-completion



More information about the Bash-completion-commits mailing list