diff options
| author | 2024-07-27 10:44:53 +0300 | |
|---|---|---|
| committer | 2024-07-27 10:44:53 +0300 | |
| commit | ed71744480d0ba6399dfc8a119ed28611addc8c2 (patch) | |
| tree | bc6d0edeeb4479874400ea8bea6a9d46511940a2 /bin | |
| download | emacs.d-ed71744480d0ba6399dfc8a119ed28611addc8c2.tar.gz emacs.d-ed71744480d0ba6399dfc8a119ed28611addc8c2.tar.xz emacs.d-ed71744480d0ba6399dfc8a119ed28611addc8c2.zip | |
In the beginning there was darkness
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/init | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/init b/bin/init new file mode 100755 index 0000000..a4feab4 --- /dev/null +++ b/bin/init | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | :;set -e # -*- mode: emacs-lisp; lexical-binding: t -*- | ||
| 3 | :;exec emacs --script "$0" "$@" | ||
| 4 | |||
| 5 | (setq gc-cons-threshold (* 128 1024 1024)) | ||
| 6 | |||
| 7 | (setq load-prefer-newer t) | ||
| 8 | |||
| 9 | (setq user-emacs-directory | ||
| 10 | (expand-file-name ".." (file-name-directory (file-truename load-file-name)))) | ||
| 11 | |||
| 12 | (load (expand-file-name "init.el" user-emacs-directory)) | ||
| 13 | |||