ADD useful conda aliases
This commit is contained in:
parent
802f776654
commit
a0b5de0769
|
@ -451,6 +451,10 @@ zsh-rbenv () {
|
||||||
zsh-conda () {
|
zsh-conda () {
|
||||||
if [[ -x $XDG_DATA_HOME/mambaforge/bin/conda ]]; then
|
if [[ -x $XDG_DATA_HOME/mambaforge/bin/conda ]]; then
|
||||||
eval "$($XDG_DATA_HOME/mambaforge/bin/conda shell.zsh hook)"
|
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
|
else
|
||||||
echo "conda installation not found"
|
echo "conda installation not found"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue