mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 11:01:31 +01:00
zsh: theme: prevent breaking of prompt with virtualenv prefix
This commit is contained in:
parent
1e90b5766c
commit
e021c813b2
|
@ -66,7 +66,8 @@ function virtualenv_info {
|
||||||
venv="$(basename $(dirname "$VIRTUAL_ENV") )"
|
venv="$(basename $(dirname "$VIRTUAL_ENV") )"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n " $BOLD_PURPLE<$venv>$CLEAR "
|
# bold (%B) purple (%F{5})
|
||||||
|
echo -n " %B%F{5}<$venv>%b%f "
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user