diff --git a/src/shell/scripts/omp.fish b/src/shell/scripts/omp.fish index 02b9a2c2..fc3e30d8 100644 --- a/src/shell/scripts/omp.fish +++ b/src/shell/scripts/omp.fish @@ -72,7 +72,7 @@ end function _render_tooltip commandline --function expand-abbr - set omp_tooltip_command (commandline --current-buffer | string split --allow-empty -f1 ' ') + set omp_tooltip_command (commandline --current-buffer | string collect | string split --allow-empty -f1 ' ') commandline --insert " " commandline --function repaint end