mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
Simplify logic?
This commit is contained in:
parent
88671c1d42
commit
dcec53f35c
@ -873,11 +873,7 @@ function __bobthefish_prompt_virtualfish -S -d "Display current Python virtual e
|
||||
|
||||
if [ "$version_glyph" -o "$theme_display_virtualenv_python_version" = 'no' ]
|
||||
__bobthefish_start_segment $color_virtualfish
|
||||
echo -ns $virtualenv_glyph
|
||||
if [ "$theme_display_virtualenv_python_version" != 'no' ]
|
||||
echo -ns $version_glyph
|
||||
end
|
||||
echo -ns ' '
|
||||
echo -ns $virtualenv_glyph $version_glyph ' '
|
||||
end
|
||||
|
||||
if [ "$VIRTUAL_ENV" ]
|
||||
|
Loading…
Reference in New Issue
Block a user