mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
{bash,zsh}rc: explicitly use Python3, add venv aliases for pypy
This commit is contained in:
parent
1ff423c4ab
commit
1b2010ae42
@ -448,14 +448,16 @@ alias mtrp6="mtr -rw6c 10"
|
||||
alias python-httpd="python3 -m http.server"
|
||||
|
||||
# pip
|
||||
alias pip="python -m pip"
|
||||
alias pip="python3 -m pip"
|
||||
alias pip3="python3 -m pip"
|
||||
alias pypypip="pypy -m pip"
|
||||
alias pypypip="pypy3 -m pip"
|
||||
alias pypypip3="pypy3 -m pip"
|
||||
|
||||
# Python virtualenv/the new venv comparsion:
|
||||
# https://virtualenv.pypa.io/en/latest/#virtualenv / python3-venv (Debian)
|
||||
alias venv="python3 -m venv"
|
||||
alias pypyvenv="pypy3 -m venv"
|
||||
alias venvpypy=pypyvenv
|
||||
|
||||
# cp/mv using rsync. rcp appears to be link to scp in my system, so I can
|
||||
# safely use this alias.
|
||||
|
6
rc/zshrc
6
rc/zshrc
@ -429,14 +429,16 @@ alias mtrp6="mtr -rw6c 10"
|
||||
alias python-httpd="python3 -m http.server"
|
||||
|
||||
# pip
|
||||
alias pip="python -m pip"
|
||||
alias pip="python3 -m pip"
|
||||
alias pip3="python3 -m pip"
|
||||
alias pypypip="pypy -m pip"
|
||||
alias pypypip="pypy3 -m pip"
|
||||
alias pypypip3="pypy3 -m pip"
|
||||
|
||||
# Python virtualenv/the new venv comparsion:
|
||||
# https://virtualenv.pypa.io/en/latest/#virtualenv / python3-venv (Debian)
|
||||
alias venv="python3 -m venv"
|
||||
alias pypyvenv="pypy3 -m venv"
|
||||
alias venvpypy=pypyvenv
|
||||
|
||||
# cp/mv using rsync. rcp appears to be link to scp in my system, so I can
|
||||
# safely use this alias.
|
||||
|
Loading…
Reference in New Issue
Block a user