-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathzshrc.local
36 lines (26 loc) · 874 Bytes
/
zshrc.local
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
#!/usr/bin/env zsh
# Homebrew path
export PATH="/opt/homebrew/bin:$PATH"
# Path
export PATH="$HOME/.bin:$PATH"
# Golang setup
export GOPATH=$HOME/code/go
export PATH=$PATH:$GOPATH/bin
export GO111MODULE=auto
export ASDF_GOLANG_MOD_VERSION_ENABLED=true
# ASDF setup
. /opt/homebrew/opt/asdf/libexec/asdf.sh
# Yarn setup
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
export PATH="/opt/homebrew/opt/openssl@3/bin:$PATH"
export PATH="/opt/homebrew/opt/postgresql@13/bin:$PATH"
# Load environment secrets
[[ -f ~/.zshrc.secrets.local ]] && source ~/.zshrc.secrets.local
# use Startship as prompt
eval "$(starship init zsh)"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# bun completions
[ -s "/Users/jasonelston/.bun/_bun" ] && source "/Users/jasonelston/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"