summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlen <alen@dotfiles.xyz>2023-09-23 22:18:01 +0400
committerAlen <alen@dotfiles.xyz>2023-09-23 22:18:01 +0400
commit9b364cb7b5463167f17c6c7c7a634c1e6835eac0 (patch)
tree54b2457523784548bc5ab2d019c071ec64227d4b
parent74fac2fd26ce672d02f68ef683463e9a86341aec (diff)
Add PIP_REQUIRE_VENV to never allow global pip actions
-rw-r--r--dot_zshenv3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot_zshenv b/dot_zshenv
index dff58be..8821f87 100644
--- a/dot_zshenv
+++ b/dot_zshenv
@@ -51,3 +51,6 @@ fi
 if [[ -d "${HOME}/.local/bin" ]]; then
     PATH="${HOME}/.local/bin:${PATH}"
 fi
+
+# Never allow global pip
+export PIP_REQUIRE_VENV=1