fix(fish): restore support for fish <v3.4.0 (#6337)

This commit is contained in:
David Knaack 2024-11-15 01:46:42 +01:00 committed by GitHub
parent 8c383b4ecd
commit 85d3fb2e2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ function reset-transient --on-event fish_postexec
end
function transient_execute
if commandline --is-valid || test -z "$(commandline)" && not commandline --paging-mode
if commandline --is-valid || test -z (commandline | string collect) && not commandline --paging-mode
set -g TRANSIENT 1
set -g RIGHT_TRANSIENT 1
commandline -f repaint