mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 13:04:04 -08:00
fix(fish): re-render rprompt when no tooltip
This commit is contained in:
parent
923155e253
commit
f9efe17da3
|
@ -35,10 +35,13 @@ function fish_right_prompt
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if test -n "$omp_tooltip_command"
|
if test -n "$omp_tooltip_command"
|
||||||
::OMP:: print tooltip --config $POSH_THEME --shell fish --command $omp_tooltip_command
|
set omp_tooltip_prompt (::OMP:: print tooltip --config $POSH_THEME --shell fish --command $omp_tooltip_command)
|
||||||
|
if test -n "$omp_tooltip_prompt"
|
||||||
|
echo -n $omp_tooltip_prompt
|
||||||
set omp_tooltip_command ""
|
set omp_tooltip_command ""
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
end
|
||||||
::OMP:: print right --config $POSH_THEME --shell fish --error $omp_status_cache --execution-time $omp_duration --stack-count $omp_stack_count
|
::OMP:: print right --config $POSH_THEME --shell fish --error $omp_status_cache --execution-time $omp_duration --stack-count $omp_stack_count
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue