summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-07-27 10:44:53 +0300
committerGravatar Uko Kokņevičs2024-07-27 10:44:53 +0300
commited71744480d0ba6399dfc8a119ed28611addc8c2 (patch)
treebc6d0edeeb4479874400ea8bea6a9d46511940a2 /bin
downloaddotfiles-ed71744480d0ba6399dfc8a119ed28611addc8c2.tar.gz
dotfiles-ed71744480d0ba6399dfc8a119ed28611addc8c2.tar.xz
dotfiles-ed71744480d0ba6399dfc8a119ed28611addc8c2.zip
In the beginning there was darkness
Diffstat (limited to 'bin')
-rwxr-xr-xbin/init13
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