mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-14 17:38:38 -07:00
feat(fino-time): add conda environment (#11785)
This commit is contained in:
parent
6925c44af4
commit
e564793939
@ -12,6 +12,7 @@
|
|||||||
# Also borrowing from http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/
|
# Also borrowing from http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/
|
||||||
|
|
||||||
function virtualenv_info {
|
function virtualenv_info {
|
||||||
|
[ $CONDA_DEFAULT_ENV ] && echo "($CONDA_DEFAULT_ENV) "
|
||||||
[ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
|
[ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user