From b1d9ec72ab94a52047f13403ada6ea96873727f0 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Fri, 10 Mar 2023 18:39:21 -0900 Subject: [PATCH] Actually determine system architecture for gitstatus --- lisp/mitch-packages.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 433162e..4fd20df 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -322,12 +322,12 @@ If the current window occupies the whole frame, split it." (use-package gitstatus :elpaca (:host github :repo "igorepst/gitstatus-el") - :custom - (system-architecture (car (split-string system-configuration "-"))) - (gitstatusd-exe (format "~/.cache/gitstatus/gitstatusd-linux-%s" - system-architecture)) :after eshell - :init (add-hook 'eshell-before-prompt-hook #'gitstatus-eshell-start)) + :init + (setq system-architecture (car (split-string system-configuration "-"))) + (setq gitstatusd-exe (format "~/.cache/gitstatus/gitstatusd-linux-%s" + system-architecture)) + (add-hook 'eshell-before-prompt-hook #'gitstatus-eshell-start)) (use-package p11k :elpaca (:repo "https://git.mitchmarq42.xyz/mitch/p11k-el") :after eshell