Commit 9ec1fef6 authored by nimrod's avatar nimrod
Browse files

temp_venv shell function.

To create a throwaway Python virtualenv.
parent 367b81e8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -259,6 +259,13 @@ sync_podcasts () (
    unison podcasts
)

temp_venv () {
    cdtemp
    venv .
    # shellcheck disable=SC1090,SC1091
    . bin/activate
}

toux () {
    touch "$@"
    chmod +x "$@"