From 53788c4c89afccd5b9c824c9116a183c71b0e7f7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 16 Apr 2022 15:16:53 +0530 Subject: [PATCH] Get conda working with fish --- .../fish/vendor_conf.d/kitty-shell-integration.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish b/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish index 45d8bbb4e..617d32c47 100644 --- a/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish +++ b/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish @@ -124,9 +124,9 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after else if test -n "$__ksi_pre_rc_conda_default_env" and type -q conda and test "$__ksi_pre_rc_conda_default_env" != "$CONDA_DEFAULT_ENV" - echo $__ksi_pre_rc_conda_default_env # for some reason that I cant be bothered to figure out this doesnt take effect - conda activate $_ksi_pre_rc_conda_default_env + # conda activate $_ksi_pre_rc_conda_default_env + eval ($CONDA_EXE shell.fish activate $__ksi_pre_rc_conda_default_env) end set --erase __ksi_is_clone_launch __ksi_pre_rc_path __ksi_pre_rc_conda_default_env __ksi_pre_rc_python_venv end