-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
35 lines (28 loc) · 1.06 KB
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
export EDITOR=vim
export PATH=$HOME/.local/bin:$HOME/.emacs.d/bin:$HOME/.yarn/bin:/opt/homebrew/bin:/opt/hombrew/sbin:$PATH
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc"
source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc"
# Aliases
# e.g. "alias k kubectl"
function na() {
echo "alias $1='$2'" >> ~/.aliases
source ~/.aliases
}
source ~/.aliases
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/homebrew/Caskroom/mambaforge/base/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/homebrew/Caskroom/mambaforge/base/etc/profile.d/conda.sh" ]; then
. "/opt/homebrew/Caskroom/mambaforge/base/etc/profile.d/conda.sh"
else
export PATH="/opt/homebrew/Caskroom/mambaforge/base/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<