From 9e8eee0c2ac40be1e7e9d702f082a31a81bace14 Mon Sep 17 00:00:00 2001
From: fred <2160318-free_zed@users.noreply.gitlab.com>
Date: Sun, 20 Mar 2022 00:28:37 +0100
Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20Update=20python=20virtuall?=
 =?UTF-8?q?env=20management?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tasks/user_cfg/files/dotfiles/zshrc | 4 +---
 tasks/vars/main.yml                 | 1 +
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/tasks/user_cfg/files/dotfiles/zshrc b/tasks/user_cfg/files/dotfiles/zshrc
index 053f417..575b50f 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 651b06d..e5d1bf2 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
-- 
GitLab