conda activate now works under fish so use it

This commit is contained in:
Kovid Goyal 2022-04-17 20:55:53 +05:30
parent 6590d0690e
commit 93c23f99cb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -132,9 +132,7 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
and type -q conda
and test "$CONDA_DEFAULT_ENV" != "$orig_conda_env"
set _ksi_sourced "y"
# for some reason that I cant be bothered to figure out this doesnt take effect
# conda activate $_ksi_pre_rc_conda_default_env
eval ($CONDA_EXE shell.fish activate $CONDA_DEFAULT_ENV)
conda activate $CONDA_DEFAULT_ENV
end
if _ksi_s_is_ok "env_var"
and test -n "$KITTY_CLONE_SOURCE_CODE"