From 81b4c7f92c3f7b1667944acb02ae37f0e0e3ea4d Mon Sep 17 00:00:00 2001 From: Shai Ungar <46257864+ungarshai@users.noreply.github.com> Date: Tue, 11 Feb 2020 14:01:02 +0200 Subject: [PATCH] add zsh change dir hook http://zsh.sourceforge.net/Doc/Release/Functions.html#Hook-Functions --- conda_auto_env.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conda_auto_env.sh b/conda_auto_env.sh index 2470c54..1c1c839 100644 --- a/conda_auto_env.sh +++ b/conda_auto_env.sh @@ -32,3 +32,5 @@ function conda_auto_env() { } export PROMPT_COMMAND=conda_auto_env + +chpwd_functions+=(conda_auto_env)