-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
85 lines (80 loc) · 4.31 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
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="bira"
plugins=(git)
plugins=(zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
alias qgg01="ssh [email protected]"
alias qggdb="ssh -qTfnN [email protected] -L 3307:127.0.0.1:3306"
alias manting01="ssh [email protected]"
alias mantingdb="ssh -qTfnN [email protected] -L 3307:127.0.0.1:3306"
alias bwg-fmt="ssh [email protected] -v -p 29547"
alias bwg-cn2="ssh [email protected] -v -p 26648"
alias sss="export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890"
alias ssc="export http_proxy= export https_proxy= export all_proxy="
alias unionjd="ssh [email protected] -p 7788 -v"
alias unionjddb="ssh -p 7788 -fCPN [email protected] -L 3308:rm-uf6s0h018qv9uedzl.mysql.rds.aliyuncs.com:3306"
alias unionjdgitpull="ssh [email protected] 'cd /data/code/admin/ && /usr/bin/git pull'"
alias jbp="ssh [email protected] -v"
alias smartshoe="ssh [email protected] -p 7788 -v"
alias smartshoedb="ssh -fCPN -p 7788 [email protected] -L 3307:127.0.0.1:3306"
alias btob="ssh [email protected] -v -p 7788"
alias btobdb="ssh -fCPN -p 7788 [email protected] -L 3308:rm-bp1890ndndw9sn5r790150.mysql.rds.aliyuncs.com:3306"
alias btobgitpull="ssh -p 7788 [email protected] 'cd /data/code/api/ && /usr/bin/git pull'"
alias greatpine="ssh [email protected] -v"
alias lottery="ssh [email protected] -v"
alias lotterydb="ssh -fCPN [email protected] -L 3307:127.0.0.1:3306"
alias gitfb="git fetch && git rebase"
alias sand-dev-host08="ssh [email protected] -v"
alias sand-dev-gitlab="ssh [email protected] -v"
alias sand-dev-sentry="ssh [email protected] -v"
alias sand-dev-ban="ssh [email protected]"
alias oye="ssh -qTfnN -D 7070 [email protected] -p 26648"
alias oyek="ps auxf|grep qTfnN|grep -v grep|awk '{print \$2}'|xargs kill"
alias gp="ssh [email protected] -v -p 7788"
alias gitlab="ssh [email protected]"
alias gold="ssh [email protected] -v"
alias freezer="ssh [email protected] -v"
alias freezerdb="ps auxf|grep '3307:127.0.0.1:3306'|grep -v 'grep'|awk '{print \$2}'|xargs kill ;ssh -qTfnN [email protected] -L 3307:127.0.0.1:3306"
alias parking="ssh [email protected] -v"
alias parkingdb="ps auxf|grep '3308:127.0.0.1:3306'|grep -v 'grep'|awk '{print \$2}'|xargs kill ;ssh -qTfnN [email protected] -L 3308:127.0.0.1:3306"
alias xj01="ssh [email protected] -v"
alias xj104="ssh [email protected] -v"
alias xj105="ssh [email protected] -v"
alias xj106="ssh [email protected] -v"
alias xijing01="ssh [email protected] -v"
alias xfy-api-up="ssh [email protected] -v 'cd /home/shxj/xingfuyun/xingfuyun-server && git pull && docker-compose -f /home/shxj/xingfuyun/docker-compose.yml exec node_server pm2 restart all'"
alias xj-gpu="ssh [email protected] -v"
alias xijing-prod="ssh [email protected] -v"
alias xijing-zhdn-test="ssh [email protected] -v"
alias xijing-zhdn="ssh [email protected] -v"
alias xijing-zhdn-prod="ssh [email protected] -v"
alias xijing-happiness-cloud01="ssh [email protected] -v"
alias xg01="ssh [email protected] -v"
alias xcssh="ssh [email protected] -p 60022 -v -i ~/.ssh/id_rsa -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa"
export PATH="$PATH:$HOME/go/bin"
export PATH="$PATH:$HOME/.local/bin"
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
export PATH="/usr/local/bin:$PATH"
export PATH="/opt/homebrew/bin:$PATH"
export XDG_CONFIG_HOME="$HOME/.config"
export EDITOR=vim
export JAVA_HOME=/opt/homebrew/Cellar/openjdk/21.0.2/
export PATH="/opt/homebrew/opt/postgresql@16/bin:$PATH"
export PATH="/Users/sdhou/.local/ActiveState/StateTool/release/bin:$PATH"
export PATH="/Users/sdhou/Library/Caches/activestate/bin:$PATH"
alias brewup="sss && brew update -v && brew upgrade -v && brew list --cask|xargs brew upgrade --cask && ssc && brew cleanup --prune=all"
alias weather="curl wttr.in"
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/sdhou/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/sdhou/miniconda3/etc/profile.d/conda.sh" ]; then
. "/Users/sdhou/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/Users/sdhou/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<