From 4a76f5a16646ef3c0407e092a66f9f35e273ff81 Mon Sep 17 00:00:00 2001 From: Igor Murzov Date: Tue, 4 Dec 2012 20:00:57 +0400 Subject: [PATCH] mount.linux: Add options completion for nfs. --- completions/mount.linux | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/completions/mount.linux b/completions/mount.linux index f727b39e..aec8c53c 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