Added todo for nicer conda handling.

This commit is contained in:
Patrick Bos 2016-05-12 08:57:43 +02:00 committed by E. G. Patrick Bos
parent 3ea8d23b01
commit cad81e847f

View file

@ -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