diff options
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 | |||