Browse Source

Fix alias

master
10sr 4 years ago
parent
commit
77d7cf8795
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
2 changed files with 5 additions and 1 deletions
  1. +0
    -1
      profile
  2. +5
    -0
      shrc

+ 0
- 1
profile View File

@@ -121,7 +121,6 @@ export PYTHONUSERBASE=$HOME/.pip
export PATH="$PYTHONUSERBASE/bin:$PATH" export PATH="$PYTHONUSERBASE/bin:$PATH"
# Enable --user by default when running pip install # Enable --user by default when running pip install
export PIP_USER=1 export PIP_USER=1
alias pipenv="env -u PIP_USER pipenv"


export PIPENV_VENV_IN_PROJECT=1 export PIPENV_VENV_IN_PROJECT=1
export PIPENV_MAX_DEPTH=10 # Defaults to 3 export PIPENV_MAX_DEPTH=10 # Defaults to 3


+ 5
- 0
shrc View File

@@ -344,6 +344,11 @@ __safe_alias ipy3=ipython3
__safe_alias ipy2=ipython2 __safe_alias ipy2=ipython2
__safe_alias rl=rlwrap __safe_alias rl=rlwrap
__safe_alias igosh=gosh-rl __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 # Sometimes SHELL cannot be used. For example, when running bash inside zsh
# SHELL is set to be /bin/zsh # SHELL is set to be /bin/zsh
if $inbash if $inbash


Loading…
Cancel
Save