Add shortcut for setting up new python venv
This commit is contained in:
@@ -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