The following commit has been merged in the master branch:
commit 0c810d1471283eb0cae1a57083c646cb81f2adb5
Author: Ville Skyttä <[email protected]>
Date: Thu Apr 28 20:52:50 2011 +0300
getent: Add gshadow to known databases.
diff --git a/completions/getent b/completions/getent
index 4564acc..5b723fa 100644
--- a/completions/getent
+++ b/completions/getent
@@ -29,7 +29,7 @@ _getent()
awk '{ print $1 }' )" -- "$cur" ) )
return 0
;;
- aliases|shadow)
+ aliases|shadow|gshadow)
COMPREPLY=( $( compgen -W "$( getent "$prev" | cut -d: -f1 )" \
-- "$cur" ) )
return 0
@@ -40,7 +40,7 @@ _getent()
if [ $cword -eq 1 ]; then
COMPREPLY=( $( compgen -W 'passwd group hosts services protocols \
networks ahosts ahostsv4 ahostsv6 aliases ethers netgroup rpc \
- shadow' -- "$cur" ) )
+ shadow gshadow' -- "$cur" ) )
fi
} &&
complete -F _getent getent
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits