File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ _comp_cmd_carton__commands()
4
4
{
5
5
local cmds=$( " ${1:- carton} " usage 2>&1 |
6
6
command sed -ne ' /.*command.* is one of/{n;p;q;}' )
7
- COMPREPLY+=($( IFS=" $IFS , " compgen -W " $cmds " -- " $cur " ) )
7
+ COMPREPLY+=($( IFS=$' \t\n , ' compgen -W " $cmds " -- " $cur " ) )
8
8
}
9
9
10
10
_comp_cmd_carton__command_help ()
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ _comp_cmd_gssdp_discover()
18
18
local types=$( " $1 " --help 2>&1 |
19
19
command sed -ne ' s/^.*--message-type=.*(\([^)]*\))$/\1/p' )
20
20
COMPREPLY=($(
21
- IFS+=,
21
+ IFS= $' \t\n , '
22
22
compgen -W " $types " -- " $cur "
23
23
) )
24
24
return
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ _comp_cmd_influx()
16
16
-format | -precision | -consistency)
17
17
local args=$( " $1 " --help 2>&1 | awk " \$ 1 == \" $prev \" { print \$ 2 }" )
18
18
COMPREPLY=($(
19
- IFS+= " \" '|"
19
+ IFS= $' \t\n ' " \" '|"
20
20
compgen -W " $args " -- " $cur "
21
21
) )
22
22
return
You can’t perform that action at this time.
0 commit comments