summaryrefslogtreecommitdiff
path: root/.config/zsh/.zshenv
blob: bd8c365025ed679c2c147908727dffb2a39a7bdd (plain)
1
2
3
4
5
6
7
#!/bin/zsh
# ~/.config/zsh/.zshenv
# As suggested by https://vi.stackexchange.com/questions/7644/use-vim-with-virtualenv/7654#7654

if [[ -n $VIRTUAL_ENV && -e "${VIRTUAL_ENV}/bin/activate" ]]; then
  source "${VIRTUAL_ENV}/bin/activate"
fi