before upgrade

This commit is contained in:
Petr Nyc
2025-11-18 08:57:41 +01:00
parent 5715fd5577
commit 56a36622c1
3 changed files with 37 additions and 1 deletions

18
.zshrc
View File

@@ -264,6 +264,24 @@ fi
unset __conda_setup
# <<< conda initialize <<<
#### <BEGIN conda zsh completion>
# --- Enable conda autocompletion ---
if command -v conda &>/dev/null; then
# Ensure Conda hook is loaded
eval "$(conda shell.zsh hook)"
# Add Conda's completion functions to zsh's function path
_conda_zsh_completions_dir="$(conda info --base)/etc/profile.d"
if [ -d "$_conda_zsh_completions_dir" ]; then
fpath+=("$_conda_zsh_completions_dir")
fi
fi
autoload -U compinit && compinit
#### <END conda zsh completion>
# export PATH="/opt/homebrew/bin:$PATH"
# for cocoapods