mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-04 19:03:38 +00: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
|
||||
|
||||
function transient_execute
|
||||
if commandline --paging-mode
|
||||
commandline -f accept-autosuggestion
|
||||
return
|
||||
end
|
||||
commandline --is-valid
|
||||
if test $status != 2
|
||||
if commandline --is-valid || test -z "$(commandline)" && not commandline --paging-mode
|
||||
set -g TRANSIENT 1
|
||||
set -g RIGHT_TRANSIENT 1
|
||||
commandline -f repaint
|
||||
|
Loading…
Reference in New Issue
Block a user