-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
41 lines (32 loc) · 1004 Bytes
/
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
# source files in zshrc.d
if [[ -d "$HOME/.zsh/zshrc.d" ]]; then
for file in ~/.zsh/zshrc.d/*.zsh; do
source "$file"
done; unset file
fi
# use Surge as proxy
export https_proxy=http://127.0.0.1:6152;export http_proxy=http://127.0.0.1:6152
# iTerm2 shell integration
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
# prompt
autoload -Uz promptinit; promptinit
PURE_PROMPT_SYMBOL="$"
prompt pure
# completions
fpath+=~/.zsh/completions
compinit
# Rust
export PATH=~/.cargo/bin:$PATH
export RUST_SRC_PATH=~/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src
# mdv theme
export MDV_THEME=757.2295
# git config
source ~/.zsh/private/git_config
export GIT_EDITOR=nvim
# GPG
export GPG_TTY=$(tty)
# Tiny Care Terminal config
source ~/.zsh/private/ttc_config
export TTC_REPOS='~/Projects/github/stamp711,~/Documents/GitBook/stamp711'
export TTC_BOTS='tinycarebot,selfcare_bot,magicrealismbot'
export TTC_WEATHER='Beijing'