mirror of
https://gitlab.com/linuxstuff/dotfiles.git
synced 2026-08-19 22:59:27 +02:00
Added class and os alternates
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
function virtualenv_prompt_info(){
|
||||
[[ -n ${VIRTUAL_ENV} ]] || return
|
||||
echo "${ZSH_THEME_VIRTUALENV_PREFIX:=[}${VIRTUAL_ENV:t}${ZSH_THEME_VIRTUALENV_SUFFIX:=]}"
|
||||
}
|
||||
|
||||
# disables prompt mangling in virtual_env/bin/activate
|
||||
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||
Reference in New Issue
Block a user