diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-05-04 14:15:45 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-05-04 14:26:51 -0700 |
| commit | 3424cadc9d812fb043f8e82036c0a1be6d03550c (patch) | |
| tree | eb5fb5c1c2fe969bd59584f78639a9ee093a744e | |
| parent | some tweaks for wezterm (diff) | |
| download | infra-3424cadc9d812fb043f8e82036c0a1be6d03550c.tar.gz | |
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.
| -rw-r--r-- | nix/users/fcuny/configs/emacs/init.el | 6 | ||||
| -rw-r--r-- | 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="; }; } |
