2024-04-14 18:41:15 -07:00
|
|
|
#!/usr/bin/env fish
|
|
|
|
|
|
|
|
function lzg --wraps=lazygit
|
2024-08-04 17:54:30 -07:00
|
|
|
{{ 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 -}}
|
2024-04-14 18:41:15 -07:00
|
|
|
|
2024-04-17 20:27:09 -07:00
|
|
|
lazygit --use-config-file="$configs"
|
2024-04-14 18:41:15 -07:00
|
|
|
end
|