-
Notifications
You must be signed in to change notification settings - Fork 0
/
myzshrc
39 lines (31 loc) · 1.09 KB
/
myzshrc
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
35
36
37
38
39
#source $HOME/.myzsh/zsh-git-prompt/zshrc.sh
source $HOME/.myzsh/git-prompt.zsh/git-prompt.zsh
source $HOME/.myzsh/zsh-z/zsh-z.plugin.zsh
#PROMPT='%B%m%~%b$(git_super_status) %# '
eval "$(/opt/homebrew/bin/brew shellenv)"
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$($HOME/miniconda3/bin/conda 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "$HOME/miniconda3/etc/profile.d/conda.sh" ]; then
. "$HOME/miniconda3/etc/profile.d/conda.sh"
else
export PATH="$HOME/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
FPATH=$HOME/.myzsh/conda-zsh-completion:$FPATH
autoload -Uz compinit
compinit
source $HOME/.myzsh/zsh-history-substring-search/zsh-history-substring-search.zsh
source $HOME/.myzsh/zsh-autosuggestions/zsh-autosuggestions.zsh
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
if type fzf &>/dev/null; then
source $HOME/.myzsh/fzf.zsh
fi
export PATH="$HOME/go/bin:$PATH"
alias code="codium --add"