From 3424cadc9d812fb043f8e82036c0a1be6d03550c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 4 May 2025 14:15:45 -0700 Subject: load environment variables properly we were only loading the one for aspell, but not the $PATH. We actually don't need the one for aspell. --- nix/users/fcuny/configs/emacs/init.el | 6 ++---- nix/users/fcuny/emacs.nix | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nix/users/fcuny/configs/emacs/init.el b/nix/users/fcuny/configs/emacs/init.el index 0c5e3dd..edbbe40 100644 --- a/nix/users/fcuny/configs/emacs/init.el +++ b/nix/users/fcuny/configs/emacs/init.el @@ -69,10 +69,8 @@ (setq imenu-auto-rescan t)) (use-package exec-path-from-shell - :config - (exec-path-from-shell-initialize) - :custom - (exec-path-from-shell-variables '("ASPELL_CONF"))) + :init + (exec-path-from-shell-initialize)) (use-package ibuffer :bind ("C-x C-b" . ibuffer) diff --git a/nix/users/fcuny/emacs.nix b/nix/users/fcuny/emacs.nix index 36c93ac..f7f83d6 100644 --- a/nix/users/fcuny/emacs.nix +++ b/nix/users/fcuny/emacs.nix @@ -63,6 +63,6 @@ in ]; home.sessionVariables = { - EDITOR = "emacsclient -t"; + EDITOR = "${pkgs.emacs}/bin/emacsclient -a="; }; } -- cgit v1.2.3