From 504f01ccfd40303697ea3d13a4ca1aaef74552e1 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Fri, 17 Jun 2022 15:51:37 +0100 Subject: [PATCH] Use virtualenvwrapper --- states/zsh/arch.sls | 1 + states/zsh/files/zshrc | 3 +++ 2 files changed, 4 insertions(+) diff --git a/states/zsh/arch.sls b/states/zsh/arch.sls index 5aa4147..84051df 100644 --- a/states/zsh/arch.sls +++ b/states/zsh/arch.sls @@ -3,3 +3,4 @@ install zsh: - pkgs: - zsh - zsh-completions + - python-virtualenvwrapper diff --git a/states/zsh/files/zshrc b/states/zsh/files/zshrc index f02b7e3..e1659e5 100644 --- a/states/zsh/files/zshrc +++ b/states/zsh/files/zshrc @@ -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 -- 2.47.1