fix(fish): collect commandline keyword after split

resolves #3042
This commit is contained in:
Jan De Dobbeleer 2022-11-04 21:39:08 +01:00 committed by Jan De Dobbeleer
parent c156d17577
commit 07acb9b0f6

View file

@ -72,7 +72,7 @@ end
function _render_tooltip
commandline --function expand-abbr
set omp_tooltip_command (commandline --current-buffer | string collect | string split --allow-empty -f1 ' ')
set omp_tooltip_command (commandline --current-buffer | string split --allow-empty -f1 ' ' | string collect)
commandline --insert " "
commandline --function repaint
end