From 438a8b5af3b59ac9dc42d22659aaf784cf56f208 Mon Sep 17 00:00:00 2001 From: Frieder Schlesier Date: Mon, 8 Apr 2024 10:30:34 +0200 Subject: [PATCH] simplify setup --- README.org | 9 ++++----- early-init.el | 2 +- init.el | 2 +- init.org | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.org b/README.org index c8c89e0..ae82753 100644 --- a/README.org +++ b/README.org @@ -4,10 +4,9 @@ A new start in 2023, initial bootstrap with ~crafted-emacs~. ** Early setup -1. =git submodule update --init --recursive= -2. create the directory links +1. =git clone ~/src/emacs && cd ~/src/emacs= +2. =git submodule update --init --recursive= +3. link from your =$XDG_CONFIG_DIR=: #+begin_src bash - mkdir ~/.config/crafted-emacs-configdir - ln -s ~/.config/crafted-emacs-configdir/ ~/.config/emacs + ln -s ~/src/emacs ~/.config/emacs #+end_src -3. adjust ~user-emacs-directory~ and ~crafted-emacs-home~ accordingly diff --git a/early-init.el b/early-init.el index 4699e96..f3ecff4 100644 --- a/early-init.el +++ b/early-init.el @@ -1 +1 @@ -(load "~/.config/crafted-emacs-configdir/crafted-emacs/modules/crafted-early-init-config") +(load "~/.config/emacs/crafted-emacs/modules/crafted-early-init-config") diff --git a/init.el b/init.el index 200c9d4..62e0271 100644 --- a/init.el +++ b/init.el @@ -2,7 +2,7 @@ ;; This file is generated from the .org-file with the same name. If you want to edit the ;; configuration, DO NOT edit this .el-file, edit .org, instead. -(setq user-emacs-directory "~/.config/crafted-emacs-configdir/") +(setq user-emacs-directory "~/.config/emacs/") (setq crafted-emacs-home (expand-file-name "crafted-emacs/" user-emacs-directory)) (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) (when (and custom-file diff --git a/init.org b/init.org index 4722f10..6793a77 100644 --- a/init.org +++ b/init.org @@ -9,7 +9,7 @@ ;; This file is generated from the .org-file with the same name. If you want to edit the ;; configuration, DO NOT edit this .el-file, edit .org, instead. - (setq user-emacs-directory "~/.config/crafted-emacs-configdir/") + (setq user-emacs-directory "~/.config/emacs/") (setq crafted-emacs-home (expand-file-name "crafted-emacs/" user-emacs-directory)) (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) (when (and custom-file