mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Only hide version, don't remove glyph and color, and preserve behavior for unmatched python
This commit is contained in:
parent
343b4dde32
commit
c14fc0f92d
@ -873,7 +873,11 @@ function __bobthefish_prompt_virtualfish -S -d "Display current Python virtual e
|
||||
|
||||
if [ "$version_glyph" ]
|
||||
__bobthefish_start_segment $color_virtualfish
|
||||
echo -ns $virtualenv_glyph $version_glyph ' '
|
||||
echo -ns $virtualenv_glyph
|
||||
if [ "$theme_display_virtualenv_python_version" != 'no' ]
|
||||
echo -ns $version_glyph
|
||||
end
|
||||
echo -ns ' '
|
||||
end
|
||||
|
||||
if [ "$VIRTUAL_ENV" ]
|
||||
|
Loading…
Reference in New Issue
Block a user