summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-mac.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-09-27 02:15:36 +0100
committerjao <jao@gnu.org>2025-09-27 02:15:36 +0100
commitd5ba2e907bfafc5ce110fbce99a8e851649d0c9e (patch)
treeeaf9c9d7f08ed94d16de80a3fb0962cf3fa944c4 /custom/jao-custom-mac.el
parentf51ee7f74ac2692a31bfef94e91fcb8cd7bd477f (diff)
downloadelibs-d5ba2e907bfafc5ce110fbce99a8e851649d0c9e.tar.gz
elibs-d5ba2e907bfafc5ce110fbce99a8e851649d0c9e.tar.bz2
mpc works on darwin, who knewmain
Diffstat (limited to 'custom/jao-custom-mac.el')
-rw-r--r--custom/jao-custom-mac.el22
1 files changed, 22 insertions, 0 deletions
diff --git a/custom/jao-custom-mac.el b/custom/jao-custom-mac.el
new file mode 100644
index 0000000..05c5c4b
--- /dev/null
+++ b/custom/jao-custom-mac.el
@@ -0,0 +1,22 @@
+;;; jao-custom-brew.el --- Setup for mac env -*- lexical-binding: t; -*-
+
+(setenv "HOMEBREW_PREFIX" "/opt/homebrew")
+(setenv "HOMEBREW_CELLAR" "/opt/hombrew/Cellar")
+(setenv "HOMEBREW_REPOSITORY" "/opt/homebrew")
+
+(setenv "GUILE_LOAD_PATH" "/opt/homebrew/share/guile/site/3.0")
+(setenv "GUILE_LOAD_COMPILED_PATH" "/opt/homebrew/lib/guile/3.0/site-ccache")
+(setenv "GUILE_SYSTEM_EXTENSIONS_PATH" "/opt/homebrew/lib/guile/3.0/extensions")
+
+(dolist (p '("/Applications/Emacs.app/Contents/MacOS/bin-arm64-11"
+ "/Applications/Emacs.app/Contents/MacOS/libexec-arm64-11"
+ "/opt/homebrew/sbin"
+ "/opt/homebrew/bin"
+ "~/.local/bin"
+ "/Library/TeX/texbin"))
+ (jao-exec-path p))
+
+(add-to-list 'Info-directory-list "/opt/homebrew/share/info")
+
+(provide 'jao-custom-mac)
+;;; jao-custom-mac.el ends here