Skip to content

Commit 2c9a1a9

Browse files
committed
fix(_comp_cmd_smartctl__device): replace COMPREPLY
1 parent 7352486 commit 2c9a1a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completions/smartctl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ _comp_cmd_smartctl__device()
55
case $cur in
66
areca* | 3ware* | megaraid* | cciss*)
77
# shellcheck disable=SC2054
8-
COMPREPLY+=(${cur%%,*},{0..31})
8+
COMPREPLY=(${cur%%,*},{0..31})
99
_comp_compgen -- -W '"${COMPREPLY[@]}"'
1010
;;
1111
hpt*)
1212
# shellcheck disable=SC2054
13-
COMPREPLY+=(hpt,{1..4}/{1..8} hpt,{1..4}/{1..8}/{1..5})
13+
COMPREPLY=(hpt,{1..4}/{1..8} hpt,{1..4}/{1..8}/{1..5})
1414
_comp_compgen -- -W '"${COMPREPLY[@]}"'
1515
;;
1616
*)

0 commit comments

Comments
 (0)