dotfiles/dot_config/fish/conf.d/30-lazygit.fish.tmpl
punkfairie 91ce6c48d6
Update .config/fish/conf.d/10-starship.fish
Update .config/fish/conf.d/20-gpg.fish
Update .config/fish/conf.d/30-chezmoi.fish
Update .config/fish/conf.d/30-eza.fish
Update .config/fish/conf.d/30-fzf.fish
Update .config/fish/conf.d/30-git.fish
Update .config/fish/conf.d/30-go.fish
Update .config/fish/conf.d/30-journalctl.fish
Update .config/fish/conf.d/30-lazygit.fish
Update .config/fish/conf.d/30-less.fish
Update .config/fish/conf.d/30-php.fish
Remove .config/fish/conf.d/30-polybar.fish
Update .config/fish/conf.d/30-systemctl.fish
Update .config/fish/conf.d/30-volta.fish
Update .config/fish/conf.d/30-wget.fish
Update .config/fish/conf.d/30-yay.fish
Update .config/fish/conf.d/30-bitwarden.fish
Update .config/topgrade.d/01-commands.toml
2024-10-02 21:01:45 -07:00

13 lines
468 B
Fish

#!/usr/bin/env fish
if command -v lazygit &>/dev/null
function lzg --wraps=lazygit
{{ 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
end