From 194c551499d62ea5936113c567e79aa048eb8abc Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Thu, 9 Mar 2023 14:52:10 -0900 Subject: [PATCH] gitstatus: determine architecture from `system-configuration' --- lisp/mitch-packages.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 41b7e5d..433162e 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -322,7 +322,10 @@ If the current window occupies the whole frame, split it." (use-package gitstatus :elpaca (:host github :repo "igorepst/gitstatus-el") - :custom (gitstatusd-exe "~/.cache/gitstatus/gitstatusd-linux-x86_64") + :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)) (use-package p11k