Do not ask for password in samba hosts and domains completions.
This commit is contained in:
parent
f8771782ae
commit
28c313fccd
@ -12,14 +12,14 @@ _samba_resolve_order()
|
||||
_samba_domains()
|
||||
{
|
||||
if [ -n "${COMP_SAMBA_SCAN:-}" ]; then
|
||||
COMPREPLY=( $( compgen -W '$( smbtree -D )' -- $cur ) )
|
||||
COMPREPLY=( $( compgen -W '$( smbtree -N -D )' -- $cur ) )
|
||||
fi
|
||||
}
|
||||
|
||||
_samba_hosts()
|
||||
{
|
||||
if [ -n "${COMP_SAMBA_SCAN:-}" ]; then
|
||||
COMPREPLY=( $( compgen -W "$( smbtree -S )" -- $cur ) )
|
||||
COMPREPLY=( $( compgen -W "$( smbtree -N -S )" -- $cur ) )
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user