]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Use virtualenvwrapper
authorMaximilian Friedersdorff <max@friedersdorff.com>
Fri, 17 Jun 2022 14:51:37 +0000 (15:51 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Fri, 17 Jun 2022 14:51:37 +0000 (15:51 +0100)
states/zsh/arch.sls
states/zsh/files/zshrc

index 5aa414732c98605133674503b893e05635cf48e0..84051dfea5e56fc06553edd8d76404e077e3ed4c 100644 (file)
@@ -3,3 +3,4 @@ install zsh:
     - pkgs:
       - zsh
       - zsh-completions
+      - python-virtualenvwrapper
index f02b7e36e59b5ccb84bd3769ec8ee20dac2d75da..e1659e5e47dd06f43d4ca06cd246952842a17ecb 100644 (file)
@@ -68,3 +68,6 @@ bindkey '^R' history-incremental-search-backward
 if [[ -f ~/.shell_aliases ]]; then
        source ~/.shell_aliases
 fi
+
+export WORKON_HOME=~/.virtualenvs
+source /usr/bin/virtualenvwrapper_lazy.sh