venv: bin/activate.fish doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3.5 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Creating a virtual env with pyvenv and activating it using the fish shell will throw an error.
This is due to a '$' being added to the venv prompt.
This is behavior that is not in python 3.5: https:/
/tmp> pyvenv venv
/tmp> source venv/bin/
The “$” character begins a variable name. The character “(”, which directly followed a “$”, is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type “help expand-variable”.
venv/bin/
from sourcing file venv/bin/
called on standard input
source: Error while reading file “venv/bin/
Ubuntu 16.04.1 LTS
pyvenvv-3.5
I have this bug with 3.5.