From f594876f3196fec2096d868daa755f284b5e6723 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 2 Nov 2015 17:52:59 +0100 Subject: [PATCH] init: zsh: prepend hook to precmd_functions This makes sure that $VIRTUAL_ENV is handled already in other precmd functions, especially your prompt. --- bin/pyenv-virtualenv-init | 2 +- test/init.bats | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pyenv-virtualenv-init b/bin/pyenv-virtualenv-init index f521808..080f54b 100755 --- a/bin/pyenv-virtualenv-init +++ b/bin/pyenv-virtualenv-init @@ -151,7 +151,7 @@ EOS cat <