mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
parent
4beb1bc3b4
commit
bbb7cff04d
@ -887,6 +887,9 @@ function __bobthefish_virtualenv_python_version -S -d 'Get current Python versio
|
||||
end
|
||||
|
||||
function __bobthefish_prompt_virtualfish -S -d "Display current Python virtual environment (only for virtualfish, virtualenv's activate.fish changes prompt by itself) or conda environment."
|
||||
type -fq python
|
||||
or return
|
||||
|
||||
[ "$theme_display_virtualenv" = 'no' -o -z "$VIRTUAL_ENV" -a -z "$CONDA_DEFAULT_ENV" ]
|
||||
and return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user