about summary refs log tree commit diff
path: root/.config/zsh/zprofile
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/zprofile')
-rw-r--r--.config/zsh/zprofile10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/zsh/zprofile b/.config/zsh/zprofile
new file mode 100644
index 0000000..9e6b587
--- /dev/null
+++ b/.config/zsh/zprofile
@@ -0,0 +1,10 @@
+if command -v brew &> /dev/null; then
+	export HOMEBREW_PREFIX="/usr/local"
+	export HOMEBREW_CELLAR="/usr/local/Cellar"
+	export HOMEBREW_REPOSITORY="/usr/local/Homebrew"
+	fpath[1,0]="/usr/local/share/zsh/site-functions"
+	PATH="/usr/local/bin:/usr/local/sbin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:$HOME/.local/bin"
+	export PATH;
+	[ -z "${MANPATH-}" ] || export MANPATH=":${MANPATH#:}"
+	export INFOPATH="/usr/local/share/info:${INFOPATH:-}"
+fi