3 ms·
yes but `workon` is too good not to have
by airstrike 3y ago
yes but `workon` is too good not to have
- mixmastamyk 3y agoLooks like what could be a shell alias to cd and activate? I always keep a few tabs open to my repos folder, so not sure it would help me much. Doesn't seem to support fish, though activate does.
- physicles 3y agoI modified my bash prompt to detect and auto-activate Python environments, and show if one is currently active. Haven’t thought about activate in years. It’s great.
- mixmastamyk 3y agoYes, I did that on my work laptop with fish, since I only ever used it with the work project. On my personal machine I don't bother with venvs, so also haven't thought about it in years. But was trying to figure out what the "workon" command did for GP.
- airstrike 3y ago`workon` lists all virtualenvs you have in your virtualenvs folder and `workon foo` activates environment foo this way I have all my envs in ~/virtual and all my projects in ~/projects and just `workon xyz` when I want to be in a certain venv for a given project (which doesn't always map one-to-one)