From 7410dc0365e3468ef42855c85476d70b094ec2b3 Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Sun, 4 Aug 2024 17:54:30 -0700 Subject: [PATCH] Update .config/fish/conf.d/30-lazygit.fish --- dot_config/fish/conf.d/30-lazygit.fish.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dot_config/fish/conf.d/30-lazygit.fish.tmpl b/dot_config/fish/conf.d/30-lazygit.fish.tmpl index 27dd3e6..7464788 100644 --- a/dot_config/fish/conf.d/30-lazygit.fish.tmpl +++ b/dot_config/fish/conf.d/30-lazygit.fish.tmpl @@ -1,7 +1,11 @@ #!/usr/bin/env fish function lzg --wraps=lazygit - set -f configs "$XDG_CONFIG_HOME/lazygit/config.yml,$HOME/.themes/lazygit/{{ .drapeau.colors.name }}/themes-mergable/{{ .drapeau.colors.flavor }}/pink.yml" + {{ if eq .drapeau.colors.name "catppuccin" -}} + set -f configs "$XDG_CONFIG_HOME/lazygit/config.yml,$XDG_CONFIG_HOME/lazygit/{{ .drapeau.colors.name }}/themes-mergable/{{ .drapeau.colors.flavor }}/pink.yml" + {{ else -}} + set -f configs "$XDG_CONFIG_HOME/lazygit/config.yml" + {{ end -}} lazygit --use-config-file="$configs" end