From 77d7cf8795d0ac3c9f4fa34b239bf474b15af659 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 31 Jul 2020 19:53:43 +0900 Subject: [PATCH] Fix alias --- profile | 1 - shrc | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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