Closed buzzsurfr closed 5 years ago
NOTE: This is for the next branch. This is working in the master branch.
next
master
The virtualenv segment does not properly display when activating a virtualenv.
virtualenv
I traced the error to this line: https://github.com/bhilburn/powerlevel9k/blob/61b665f0e4404e9525c73bff3aae516ae2d9f624/segments/virtualenv/virtualenv.p9k#L32
$virtualenv_path does not exist, but this can be changed to ${VIRTUAL_ENV:t} (same as the prepare_segment on line 34: https://github.com/bhilburn/powerlevel9k/blob/61b665f0e4404e9525c73bff3aae516ae2d9f624/segments/virtualenv/virtualenv.p9k#L34
$virtualenv_path
${VIRTUAL_ENV:t}
I'm submitting a PR, but can close if unneeded for some reason.
This information will help us understand your configuration.
Just realized that this issue was still open, but the PR was already merged. -> closing.
Thanks @buzzsurfr again ;)
Describe Your Issue
NOTE: This is for the
next
branch. This is working in themaster
branch.The
virtualenv
segment does not properly display when activating a virtualenv.Have you tried to debug or fix it?
I traced the error to this line: https://github.com/bhilburn/powerlevel9k/blob/61b665f0e4404e9525c73bff3aae516ae2d9f624/segments/virtualenv/virtualenv.p9k#L32
$virtualenv_path
does not exist, but this can be changed to${VIRTUAL_ENV:t}
(same as the prepare_segment on line 34: https://github.com/bhilburn/powerlevel9k/blob/61b665f0e4404e9525c73bff3aae516ae2d9f624/segments/virtualenv/virtualenv.p9k#L34I'm submitting a PR, but can close if unneeded for some reason.
Environment Information
This information will help us understand your configuration.
next
next