-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathearly-init.el
43 lines (29 loc) · 2.14 KB
/
early-init.el
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
;;; early-init.el --- Early initialization. -*- lexical-binding: t -*-
;;; Commentary:
;;
;; Emacs 27 introduces early-init.el, which is run before init.el,
;; before package and UI initialization happens.
;;; Code:
(setenv "LIBRARY_PATH" "/opt/homebrew/lib/gcc/13:/opt/homebrew/lib/gcc/13/gcc/aarch64-apple-darwin22/13")
;; (setenv "LIBRARY_PATH" "/usr/local/opt/gcc/lib/gcc/10:/usr/local/opt/gcc/lib/gcc/10/gcc/x86_64-apple-darwin20/10.2.0")
;; (setenv "LIBRARY_PATH" "/opt/homebrew/opt/gcc/lib/gcc/12:/opt/homebrew/opt/libgccjit/lib/gcc/12:/opt/homebrew/opt/gcc/lib/gcc/12/gcc/aarch64-apple-darwin22/12")
;; (setenv "PATH" "/opt/homebrew/bin:/opt/homebrew/sbin:/Users/zakudriver/.cargo/bin:/Users/zakudriver/.rbenv/bin:/usr/local/opt/openssl@1.1/bin:~/Library/pnpm:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Apple/usr/bin:/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:/Users/zakudriver/.cargo/bin:/usr/bin:/usr/local/bin:/Users/zakudriver/.zsh/bin:/Users/zakudriver/.bin:/usr/local/go/bin:/Users/zakudriver/code/go/bin:/Users/zakudriver/.flutter/bin")
(setq gc-cons-threshold most-positive-fixnum
gc-cons-percentage 0.5
native-comp-deferred-compilation nil
native-comp-jit-compilation nil
package-enable-at-startup nil
use-package-enable-imenu-support t
frame-inhibit-implied-resize t ;; Inhibit resizing frame
load-prefer-newer noninteractive)
;; (add-to-list 'default-frame-alist '(undecorated . t))
(add-to-list 'default-frame-alist '(undecorated-round . t))
;; Faster to disable these here (before they've been initialized)
(push '(menu-bar-lines . 0) default-frame-alist)
(push '(tool-bar-lines . 0) default-frame-alist)
(push '(vertical-scroll-bars) default-frame-alist)
(when (featurep 'ns)
(push '(ns-transparent-titlebar . t) default-frame-alist))
(setq-default mode-line-format nil)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; early-init.el ends here