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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
export ZSH="/Users/pengxiaochao/.oh-my-zsh"
#ZSH_THEME="robbyrussell"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git)
source $ZSH/oh-my-zsh.sh
export ScEnvironment=test
export ScRegisterEureka=false
export ScGroup=dev
export GOPATH=/Users/pengxiaochao/02codes/01Go
export PATH=/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin:$PATH
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu8_x64
export PATH=$JAVA_HOME/bin:$PATH
export CLASS_PATH=$JAVA_HOME/lib
export PATH=/Users/pengxiaochao/sdk/go1.17.3/bin:$PATH
export PATH=/Users/pengxiaochao/install/maven/bin:$PATH
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh
alias gay="git add . && git ci -m 'update' && git push"
alias ge="git add . && git commit --amend --no-edit && git push -f"
alias i="idea pom.xml"
alias tc="tmux new -s"
alias ta="tmux attach -t"
alias nginx="openresty"
#export ZPLUG_HOME=/usr/local/opt/zplug
#source $ZPLUG_HOME/init.zsh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
source /Users/pengxiaochao/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
eval "$(mcfly init zsh)"
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/pengxiaochao/miniforge3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/pengxiaochao/miniforge3/etc/profile.d/conda.sh" ]; then
. "/Users/pengxiaochao/miniforge3/etc/profile.d/conda.sh"
else
export PATH="/Users/pengxiaochao/miniforge3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
export GPG_TTY=$(tty)
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|