mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
conda activate now works under fish so use it
This commit is contained in:
@@ -132,9 +132,7 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
|
|||||||
and type -q conda
|
and type -q conda
|
||||||
and test "$CONDA_DEFAULT_ENV" != "$orig_conda_env"
|
and test "$CONDA_DEFAULT_ENV" != "$orig_conda_env"
|
||||||
set _ksi_sourced "y"
|
set _ksi_sourced "y"
|
||||||
# for some reason that I cant be bothered to figure out this doesnt take effect
|
conda activate $CONDA_DEFAULT_ENV
|
||||||
# conda activate $_ksi_pre_rc_conda_default_env
|
|
||||||
eval ($CONDA_EXE shell.fish activate $CONDA_DEFAULT_ENV)
|
|
||||||
end
|
end
|
||||||
if _ksi_s_is_ok "env_var"
|
if _ksi_s_is_ok "env_var"
|
||||||
and test -n "$KITTY_CLONE_SOURCE_CODE"
|
and test -n "$KITTY_CLONE_SOURCE_CODE"
|
||||||
|
|||||||
Reference in New Issue
Block a user