[All] Add virtualenv hooks

This commit is contained in:
Fabian Ising committed 2025-04-17 08:56:15 +02:00
1 parent d599275642
commit ea019a8e23
5 files changed
+18

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#!/bin/zsh
# This hook is sourced after every virtualenv is activated.
if [[ -n "$TMUX" ]]; then
tmux set-environment VIRTUAL_ENV $VIRTUAL_ENV
fi
+6
View File
@@ -0,0 +1,6 @@
#!/bin/zsh
# This hook is sourced after every virtualenv is deactivated.
if [[ -n "$TMUX" ]]; then
tmux set-environment -r VIRTUAL_ENV
fi
+4
View File
@@ -0,0 +1,4 @@
#!/bin/zsh
# This hook is sourced after a new virtualenv is activated.
pip3 install neovim