-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzprofile
More file actions
87 lines (65 loc) · 1.97 KB
/
zprofile
File metadata and controls
87 lines (65 loc) · 1.97 KB
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
85
86
87
## vim:ft=bash:
__ZPROFILE=1
echo "Loading ~/.zprofile"
PATH=/usr/local/sbin:"$PATH"
PATH=/usr/local/bin:"$PATH"
## linux
if [[ -d /home/linuxbrew/.linuxbrew ]]; then
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
fi
## mac os
if [[ -d /opt/homebrew ]]; then
eval $(/opt/homebrew/bin/brew shellenv)
# use GNU coreutils by their default names (e.g. dircolors)
if [[ -d /opt/homebrew/opt/coreutils/libexec/gnubin ]]; then
PATH=/opt/homebrew/opt/coreutils/libexec/gnubin:"$PATH"
fi
# llvm
PATH=/opt/homebrew/opt/llvm/bin:"$PATH"
fi
if [[ -n "$HOMEBREW_PREFIX" ]]; then
# ruby
PATH="$HOMEBREW_PREFIX"/opt/ruby/bin:"$PATH"
fi
# rust
PATH="$HOME"/.cargo/bin:"$PATH"
# zig + zvm
export ZVM_INSTALL="$HOME"/.zvm/self
PATH="$ZVM_INSTALL":"$PATH"
PATH="$HOME"/.zvm/bin:"$PATH"
# go
PATH="$HOME"/go/bin:"$PATH"
# bun + completions
export BUN_INSTALL="$HOME"/.bun
PATH="$BUN_INSTALL"/bin:"$PATH"
#
[[ -s "$HOME"/_bun ]] && source "$HOME"/_bun
# deno
PATH="$HOME"/.deno/bin:"$PATH"
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
export PUPPETEER_EXECUTABLE_PATH="$(command -v chromium)"
# uvx or pipx support
PATH="$HOME"/.local/bin:"$PATH"
# android studio
export ANDROID_HOME=$HOME/Library/Android/sdk
PATH=$PATH:$ANDROID_HOME/emulator
PATH=$PATH:$ANDROID_HOME/platform-tools
# RustRover
PATH="/Applications/RustRover.app/Contents/MacOS":"$PATH"
# Antigravity
PATH=/Users/aw/.antigravity/antigravity/bin:"$PATH"
# wasmtime
export WASMTIME_HOME="$HOME/.wasmtime"
PATH="$WASMTIME_HOME/bin:$PATH"
# uutils-coreutils
PATH=/opt/homebrew/opt/uutils-coreutils/libexec/uubin:"$PATH"
# ~/bin always overrides everything
PATH="$HOME"/bin:"$PATH"
if [[ "$OSTYPE" == "darwin"* ]]; then
export PKG_CONFIG_PATH="/opt/homebrew/opt/readline/lib/pkgconfig:$PKG_CONFIG_PATH"
export SDKROOT="$(xcrun --sdk macosx --show-sdk-path)"
fi
export PATH
# Added by OrbStack: command-line tools and integration
# This won't be added again if you remove it.
source ~/.orbstack/shell/init.zsh 2>/dev/null || :