mirror of
https://github.com/starship/starship.git
synced 2025-02-06 13:30:25 +01:00
fix(fish): use correct input function in transient execute (#6265)
This commit is contained in:
parent
a1e338b3dd
commit
244c2c629e
@ -64,12 +64,7 @@ function reset-transient --on-event fish_postexec
|
|||||||
end
|
end
|
||||||
|
|
||||||
function transient_execute
|
function transient_execute
|
||||||
if commandline --paging-mode
|
if commandline --is-valid || test -z "$(commandline)" && not commandline --paging-mode
|
||||||
commandline -f accept-autosuggestion
|
|
||||||
return
|
|
||||||
end
|
|
||||||
commandline --is-valid
|
|
||||||
if test $status != 2
|
|
||||||
set -g TRANSIENT 1
|
set -g TRANSIENT 1
|
||||||
set -g RIGHT_TRANSIENT 1
|
set -g RIGHT_TRANSIENT 1
|
||||||
commandline -f repaint
|
commandline -f repaint
|
||||||
|
Loading…
Reference in New Issue
Block a user