Skip to content

Commit

Permalink
refactor(ri): comment on the necessity of IFS
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jan 14, 2024
1 parent 5248bbf commit 116e9fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion completions/ri
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

_comp_cmd_ri__methods()
{
local regex IFS=$' \t\n'
local regex
local IFS=$' \t\n' # needed for ${classes[@]+"${classes[@]}"} in bash-5.2

if [[ $ri_version == integrated ]]; then
if [[ ! $separator ]]; then
Expand Down

0 comments on commit 116e9fa

Please sign in to comment.