mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
fix(fish): re-render rprompt when no tooltip
This commit is contained in:
parent
923155e253
commit
f9efe17da3
|
@ -35,9 +35,12 @@ 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)
|
||||||
set omp_tooltip_command ""
|
if test -n "$omp_tooltip_prompt"
|
||||||
return
|
echo -n $omp_tooltip_prompt
|
||||||
|
set omp_tooltip_command ""
|
||||||
|
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