summaryrefslogtreecommitdiff
path: root/.config/zsh/.zshenv
blob: 1c3d80cd7ccfc790005e985c31b7f3cf47b3b68a (plain)
1
2
3
4
5
6
7
#!/bin/zsh

# 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