From 7856c2db348757096c0eb42bcaa90d35fa1d104f Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Sat, 2 Sep 2023 16:42:54 +0200 Subject: [PATCH] Fix the addition of ~$HOME/.emacs.d/bin~ to ~PATH~ in Emacs Signed-off-by: Magic_RB --- home-manager/modules/emacs/.emacs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/modules/emacs/.emacs b/home-manager/modules/emacs/.emacs index a38e199..fa29856 100755 --- a/home-manager/modules/emacs/.emacs +++ b/home-manager/modules/emacs/.emacs @@ -46,8 +46,8 @@ (add-to-list 'load-path "~/.emacs.d/lisp/") (add-to-list 'load-path "~/.emacs.d/lisp/org-task-dump") (add-to-list 'load-path "~/.emacs.d/vterm-module/lib") -(add-to-list 'exec-path "~/.emacs.d/profile/bin") -(setenv "PATH" (concat "~/.emacs.d/profile/bin:" (getenv "PATH"))) +(add-to-list 'exec-path (concat (expand-file-name "~") "/.emacs.d/profile/bin")) +(setenv "PATH" (concat (expand-file-name "~") "/.emacs.d/profile/bin:" (getenv "PATH"))) (straight-use-package 'use-package) (straight-thaw-versions)