diff --git a/tasks/user_cfg/files/dotfiles/zshrc b/tasks/user_cfg/files/dotfiles/zshrc index 053f4171dcc51cc57ac9208f21121e9b4c0f5750..575b50f261b6b1612d4ebcc76d9bc8f06c7a516a 100644 --- a/tasks/user_cfg/files/dotfiles/zshrc +++ b/tasks/user_cfg/files/dotfiles/zshrc @@ -42,10 +42,8 @@ alias sudo='sudo ' alias ttoday='cat ~/.timed|grep "$(date +%d) Oct 2021" | timed parse' alias vact='source ~/.venvs/$(pwd | cut -d"/" -f5)/bin/activate' alias vc10='~/pylocal/bin/python3.10 -m venv --clear --copies ~/.venvs/$(pwd | cut -d "/" -f5)' -alias vc7='~/pylocal/bin/python3.7 -m venv --clear --copies ~/.venvs/$(pwd | cut -d "/" -f5)' -alias vc8='~/pylocal/bin/python3.8 -m venv --clear --copies ~/.venvs/$(pwd | cut -d "/" -f5)' -alias vc9='~/pylocal/bin/python3.9 -m venv --clear --copies ~/.venvs/$(pwd | cut -d "/" -f5)' alias vc='python3 -m venv --clear --copies ~/.venvs/$(pwd | cut -d "/" -f5)' +alias vdestroy='VENV_PATH="${HOME}/.venvs/$(pwd | cut -d"/" -f5)/" && echo ${VENV_PATH} && rm -rfI ${VENV_PATH}' # Timed alias tart='timed start _job_;vi ~/.timed +' diff --git a/tasks/vars/main.yml b/tasks/vars/main.yml index 651b06d3d28b4dbda34826405ff1e5daa2b3ac24..e5d1bf28a4cbe48cd0c31cf93d3b82ccb94e5a0d 100644 --- a/tasks/vars/main.yml +++ b/tasks/vars/main.yml @@ -53,6 +53,7 @@ station_pkg: - pandoc - pdftk - photocollage + - python3-venv - sshpass - tree - signal-desktop