We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ff093 commit 922a1b4Copy full SHA for 922a1b4
etc/pyenv.d/uninstall/envs.bash
@@ -2,6 +2,7 @@ resolve_link() {
2
$(type -p greadlink readlink | head -1) "$1"
3
}
4
5
+uninstall_related_virtual_env() {
6
if [ -n "${DEFINITION}" ]; then
7
if [[ "${DEFINITION}" != "${DEFINITION%/envs/*}" ]]; then
8
# Uninstall virtualenv by long name
@@ -28,3 +29,6 @@ if [ -n "${DEFINITION}" ]; then
28
29
fi
30
31
32
+}
33
+
34
+before_uninstall "uninstall_related_virtual_env"
0 commit comments