Update .config/fish/conf.d/30-chezmoi.fish
This commit is contained in:
parent
cbde380d28
commit
bfef654250
1 changed files with 5 additions and 1 deletions
|
@ -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 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
|
end
|
||||||
|
|
Loading…
Reference in a new issue