Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Allow venv segment to be from Anaconda
  • Loading branch information
ceholden committed Sep 4, 2015
commit 8a28dee1bc3ca8ec83705cc431768ef18be7798c
2 changes: 1 addition & 1 deletion segments/virtual_env.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os

def add_virtual_env_segment():
env = os.getenv('VIRTUAL_ENV')
env = os.getenv('VIRTUAL_ENV') or os.getenv('CONDA_ENV_PATH')
if env is None:
return

Expand Down