Add shortcut for setting up new python venv
This commit is contained in:
1 parent
be77e88a87
commit
e0c7774134
1 file changed
+6
@@ -14,4 +14,10 @@ def _vv():
|
||||
d = d.parent
|
||||
|
||||
|
||||
def _setup_python_direnv():
|
||||
echo "layout python3" >> .envrc
|
||||
direnv allow
|
||||
|
||||
|
||||
aliases["vv"] = _vv
|
||||
aliases["penv"] = _setup_python_direnv
|
||||
Reference in new issue
Block a user