modify several aliases
This commit is contained in:
9
general/.project-template-aliases/python
Normal file
9
general/.project-template-aliases/python
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
project-venv() {
|
||||
mkdir $1
|
||||
cd $1
|
||||
python -m venv venv
|
||||
echo venv > .gitignore
|
||||
source venv/bin/activate
|
||||
}
|
||||
Reference in New Issue
Block a user