Update .config/fish/conf.d/30-chezmoi.fish

This commit is contained in:
punkfairie 2024-10-05 09:41:25 -07:00
parent cbde380d28
commit bfef654250
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -12,5 +12,9 @@ if command -v chezmoi &>/dev/null
abbr -a czcm --position command 'git aa && git c -m "$(chezmoi generate git-commit-message)" && git p'
abbr -a czd --position command "chezmoi data | bat --language=json"
if command -v bat &>/dev/null
abbr -a czd --position command "chezmoi data | bat --language=json"
else if command -v batcat &>/dev/null
abbr -a czd --position command "chezmoi data | batcat --language=json"
end
end