Browse Source

python and git aliases

main
gabriel becker 1 year ago
commit
d21c90255a
  1. 1
      git
  2. 15
      python

1
git

@ -0,0 +1 @@
alias gitig="echo \$1 >> $PWD/.gitignore"

15
python

@ -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…
Cancel
Save