Skip to content

Commit 5eb6ff0

Browse files
committed
fix(timeout): quote the index $i for custom IFS
1 parent 4d814e1 commit 5eb6ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/timeout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ _timeout()
99
for ((i = 1; i <= COMP_CWORD; i++)); do
1010
if [[ ${COMP_WORDS[i]} != -* && ${COMP_WORDS[i - 1]} != = ]]; then
1111
if "$found"; then
12-
_comp_command_offset $i
12+
_comp_command_offset "$i"
1313
return
1414
fi
1515
found=true

0 commit comments

Comments
 (0)