diff --git a/completions/getent b/completions/getent index 4564acc8..5b723faa 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