diff --git a/profile b/profile index 42c61a5..35e0871 100755 --- a/profile +++ b/profile @@ -121,7 +121,6 @@ export PYTHONUSERBASE=$HOME/.pip export PATH="$PYTHONUSERBASE/bin:$PATH" # Enable --user by default when running pip install export PIP_USER=1 -alias pipenv="env -u PIP_USER pipenv" export PIPENV_VENV_IN_PROJECT=1 export PIPENV_MAX_DEPTH=10 # Defaults to 3 diff --git a/shrc b/shrc index 4aa0b60..2571ab8 100755 --- a/shrc +++ b/shrc @@ -344,6 +344,11 @@ __safe_alias ipy3=ipython3 __safe_alias ipy2=ipython2 __safe_alias rl=rlwrap __safe_alias igosh=gosh-rl + +__safe_alias pipenv="env -u PIP_USER pipenv" +__safe_alias pipx="env -u PIP_USER pipx" + + # Sometimes SHELL cannot be used. For example, when running bash inside zsh # SHELL is set to be /bin/zsh if $inbash