We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
COMP_SAMBA_SCAN
BASH_COMPLETION_CMD_SMBTREE_SCAN
1 parent 9c1dc01 commit 180047cCopy full SHA for 180047c
completions/smbclient
@@ -7,14 +7,14 @@ _samba_resolve_order()
7
8
_samba_domains()
9
{
10
- if [[ ${COMP_SAMBA_SCAN-} ]]; then
+ if [[ ${BASH_COMPLETION_CMD_SMBTREE_SCAN-${COMP_SAMBA_SCAN-}} ]]; then
11
COMPREPLY=($(compgen -W '$(smbtree -N -D)' -- "$cur"))
12
fi
13
}
14
15
_samba_hosts()
16
17
18
COMPREPLY=($(compgen -W "$(
19
smbtree -N -S |
20
command sed -ne 's/^[[:space:]]*\\\\*\([^[:space:]]*\).*/\1/p'
0 commit comments