-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zprofile
41 lines (30 loc) · 891 Bytes
/
.zprofile
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
eval "$(/opt/homebrew/bin/brew shellenv)"
# https://stackoverflow.com/a/71271754/794481
export ZSH_COMPDUMP="$ZSH/cache/.zcompdump-$HOST"
# Custom scripts
export PATH="$HOME/.zsh/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
# Custom includes
source "$HOME/.zsh/aliases"
source "$HOME/.zsh/credentials"
# Ripgrep
export RIPGREP_CONFIG_PATH="$HOME/.ripgreprc"
# Postgres
export PATH="/Applications/Postgres.app/Contents/Versions/17/bin:$PATH"
# Ruby
eval "$(rbenv init - zsh)"
# Rust
source "$HOME/.cargo/env"
# Go
export GOPATH="$HOME/.go"
export PATH="$GOPATH/bin:$PATH"
# Node
export PATH="/opt/homebrew/opt/node@20/bin:$PATH"
# PNPM
export PNPM_HOME="$HOME/Library/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# fix Typhoeus crashing - https://github.com/rails/rails/issues/38560
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY="YES"