dotfiles/general/.project-template-aliases/python

10 lines
132 B
Plaintext
Raw Permalink Normal View History

2021-05-28 21:01:01 +02:00
#!/usr/bin/env bash
project-venv() {
mkdir $1
cd $1
python -m venv venv
echo venv > .gitignore
source venv/bin/activate
}