python and git aliases
This commit is contained in:
commit
d21c90255a
15
python
Normal file
15
python
Normal file
@ -0,0 +1,15 @@
|
||||
export PYENVDIR=~/.pyenvs
|
||||
|
||||
alias actvenv="source .venv/bin/activate"
|
||||
|
||||
npyenv () {
|
||||
pythonversion=$2
|
||||
python${pythonversion:=3.10} -m venv $PYENVDIR/$1
|
||||
ln -s $PYENVDIR/$1 .venv
|
||||
actvenv
|
||||
}
|
||||
|
||||
|
||||
alias pygr="source ~/.pyenvs/playground/bin/activate"
|
||||
alias newds="cookiecutter -c v1 https://git.lgoon.xyz/gabriel/my-datascience-cookiecutter"
|
||||
|
Loading…
x
Reference in New Issue
Block a user