From 2f5f73cdb629294a2535b8105bbb0a8db44bc536 Mon Sep 17 00:00:00 2001 From: Baptiste Grenier Date: Tue, 19 Nov 2024 10:27:36 +0100 Subject: [PATCH] chezmoi: use new path for homebrew on apple silicon for mutt --- home/private_dot_config/private_fish/config.fish.tmpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/private_dot_config/private_fish/config.fish.tmpl b/home/private_dot_config/private_fish/config.fish.tmpl index 5e123a59..3de3037a 100644 --- a/home/private_dot_config/private_fish/config.fish.tmpl +++ b/home/private_dot_config/private_fish/config.fish.tmpl @@ -135,10 +135,15 @@ if status is-interactive fish_add_path $PYENV_ROOT/bin pyenv init - | source + # FIXME: managed this more cleanly # Load custon pytyon3 venv for mutt + ical function mutt source ~/.config/neomutt/.venv/bin/activate.fish + {{ if stat "/opt/homebrew/bin/" }} + /opt/homebrew/bin/mutt $argv + {{ else -}} /usr/local/bin/mutt $argv + {{ end -}} end # Start oidc-agent