standardize virtualenv location
This commit is contained in:
parent
024f0b9b61
commit
f1e6a11f8d
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
PYENV_DIR="${PYENVS_HOME:-${XDG_DATA_HOME:-$HOME/.local/share}/pyenvs}"
|
PYENV_DIR="${PYENVS_HOME:-${XDG_DATA_HOME:-$HOME/.local/share}/virtualenv}"
|
||||||
function chpwd_activate(){
|
function chpwd_activate(){
|
||||||
for pydir in $(ls $PYENV_DIR); do
|
for pydir in $(ls $PYENV_DIR); do
|
||||||
if [[ $(pwd|sed -e s@/@_@g) =~ "^$pydir" ]]; then
|
if [[ $(pwd|sed -e s@/@_@g) =~ "^$pydir" ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue