Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1212 from buzzsurfr/issue1211
Browse files Browse the repository at this point in the history
[Bugfix] virtualenv correct variable name
  • Loading branch information
dritter authored Mar 16, 2019
2 parents 61b665f + bd081c6 commit 00b6da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segments/virtualenv/virtualenv.p9k
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# for more information.
prompt_virtualenv() {
# Early exit; $virtualenv_path must always be set.
[[ -z "$virtualenv_path" ]] && return
[[ -z "${VIRTUAL_ENV:t}" ]] && return

p9k::prepare_segment "$0" "" $1 "$2" $3 "${VIRTUAL_ENV:t}"
}

0 comments on commit 00b6da0

Please sign in to comment.