-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_zshrc.tmpl
46 lines (37 loc) · 1.3 KB
/
dot_zshrc.tmpl
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
fpath+=($HOME/.zsh/pure)
FZF_CTRL_R_OPTS=--reverse
export FPATH=$FPATH:/opt/homebrew/opt/lsd/share/zsh/site-functions
source /opt/homebrew/opt/fzf/shell/key-bindings.zsh
# source /opt/homebrew/opt/fzf/shell/completion.zsh
source ~/.zsh/git.sh
source ~/.zsh/history.sh
source ~/.zsh/completion.sh
source ~/.zsh/aliases.sh
source ~/.zsh/bindings.sh
source ~/private.sh
export EDITOR="code --wait"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export FPATH=$FPATH:$HOME/bin
export PATH="$HOME/bin:$PATH"
export PATH="$HOME/go/bin:$PATH"
# Pure https://github.com/sindresorhus/pure
export PURE_CMD_MAX_EXEC_TIME="1"
export PURE_GIT_PULL=0
autoload -Uz compinit; compinit
autoload -U promptinit; promptinit
prompt pure
# mise
eval "$(/Users/albert/.local/bin/mise activate zsh)"
#brew
export HOMEBREW_PREFIX="/opt/homebrew";
export HOMEBREW_CELLAR="/opt/homebrew/Cellar";
export HOMEBREW_REPOSITORY="/opt/homebrew";
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin${PATH+:$PATH}";
export MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:";
export INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}";
{{- if eq .email "[email protected]" }}
export OPENSSL_CONF=$HOME/openssl.cnf
source "/opt/homebrew/share/google-cloud-sdk/path.zsh.inc"
source "/opt/homebrew/share/google-cloud-sdk/completion.zsh.inc"
{{- end }}