From cad81e847ff9cd3a3504b6ebd2f571007f4c2f72 Mon Sep 17 00:00:00 2001 From: Patrick Bos Date: Thu, 12 May 2016 08:57:43 +0200 Subject: [PATCH] Added todo for nicer conda handling. --- modules/python/init.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/python/init.zsh b/modules/python/init.zsh index 50121ff1..aed0c6e6 100644 --- a/modules/python/init.zsh +++ b/modules/python/init.zsh @@ -52,6 +52,11 @@ zstyle -T ':prezto:module:python' conda-init if (( $? && $+commands[conda] )); then if (( $(conda ..changeps1) )); then echo "To make sure Conda doesn't change your prompt (should do that in the prompt module) run:\n conda config --set changeps1 false" + # TODO: + # We could just run this ourselves. In an exit hook + # (add zsh-hook zshexit [(anonymous) function]) we could then set it back + # to the way it was before we changed it. However, I'm not sure if this is + # exception safe, so left it like this for now. fi fi