mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore: add conda
This commit is contained in:
18
zshrc
18
zshrc
@@ -53,6 +53,22 @@ export PATH="$PYENV_ROOT/bin:$PATH"
|
|||||||
eval "$(pyenv init --path)"
|
eval "$(pyenv init --path)"
|
||||||
eval "$(pyenv virtualenv-init -)"
|
eval "$(pyenv virtualenv-init -)"
|
||||||
|
|
||||||
|
# Conda
|
||||||
|
# >>> conda initialize >>>
|
||||||
|
# !! Contents within this block are managed by 'conda init' !!
|
||||||
|
__conda_setup="$('/usr/local/Caskroom/miniconda/base/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
eval "$__conda_setup"
|
||||||
|
else
|
||||||
|
if [ -f "/usr/local/Caskroom/miniconda/base/etc/profile.d/conda.sh" ]; then
|
||||||
|
. "/usr/local/Caskroom/miniconda/base/etc/profile.d/conda.sh"
|
||||||
|
else
|
||||||
|
export PATH="/usr/local/Caskroom/miniconda/base/bin:$PATH"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
unset __conda_setup
|
||||||
|
# <<< conda initialize <<<
|
||||||
|
|
||||||
# Man
|
# Man
|
||||||
export MANPATH="/usr/local/man:$MANPATH"
|
export MANPATH="/usr/local/man:$MANPATH"
|
||||||
|
|
||||||
@@ -416,3 +432,5 @@ alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"
|
|||||||
# Empty the Trash on all mounted volumes and the main HDD
|
# Empty the Trash on all mounted volumes and the main HDD
|
||||||
# Also, clear Apple’s System Logs to improve shell startup speed
|
# Also, clear Apple’s System Logs to improve shell startup speed
|
||||||
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
|
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user