ADD useful conda aliases

This commit is contained in:
Nathan Dwarshuis 2023-03-16 16:04:40 -04:00
parent 802f776654
commit a0b5de0769
1 changed files with 4 additions and 0 deletions

View File

@ -451,6 +451,10 @@ zsh-rbenv () {
zsh-conda () {
if [[ -x $XDG_DATA_HOME/mambaforge/bin/conda ]]; then
eval "$($XDG_DATA_HOME/mambaforge/bin/conda shell.zsh hook)"
alias cdd="conda deactivate"
alias cda="conda activate"
alias cde="conda env"
alias cdl="conda list"
else
echo "conda installation not found"
fi