mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-24 13:10:07 +00:00
fixup! Fix up function return value passing
This commit is contained in:
parent
c10e62ad29
commit
414c330581
1 changed files with 0 additions and 1 deletions
|
@ -4282,7 +4282,6 @@ function instant_prompt_chezmoi_shell() {
|
|||
# More information on virtualenv (Python):
|
||||
# https://virtualenv.pypa.io/en/latest/
|
||||
_virtualenv_VIRTUAL_ENV() {
|
||||
local n
|
||||
# VIRTUAL_ENV is the on-disk path, VIRTUAL_ENV_PROMPT is `(name_of_virtualenv) `.
|
||||
# Use custom name if it was set (python -m venv -p "foo" .venv)
|
||||
if [[ $VIRTUAL_ENV_PROMPT == '('?*') ' && $VIRTUAL_ENV_PROMPT != "($n) " ]]; then
|
||||
|
|
Loading…
Reference in a new issue