diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2019-03-14 21:55:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-14 21:55:13 +0300 |
commit | 1b8c1f177bed3723d12deb7ef5ea9e837a96de33 (patch) | |
tree | 486e4fd3ce09cfbd49f1a7ba60d9ac3775905133 | |
parent | 8f2fae5a38d6c43b8e18867c1732ffe3b0f1ef02 (diff) |
fix prompt_virtualenv
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 3f6da331..5bcef531 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -1782,7 +1782,7 @@ prompt_vi_mode() { # https://virtualenv.pypa.io/en/latest/ prompt_virtualenv() { if [[ -n "$VIRTUAL_ENV" ]]; then - "$1_prompt_segment" "$0" "$2" "blue" "$DEFAULT_COLOR" "${virtualenv_path:t}" 'PYTHON_ICON' + "$1_prompt_segment" "$0" "$2" "blue" "$DEFAULT_COLOR" "${VIRTUAL_ENV:t}" 'PYTHON_ICON' fi } |