feat: add alias to run bat instead of cat when available, like lsd

This commit is contained in:
Danielle McLean 2021-03-16 21:17:37 +11:00
parent 990afa5693
commit 64c6dfe98f
Signed by: 00dani
GPG key ID: 9DDE1EDE01E3A605

View file

@ -1,4 +1,8 @@
#! zsh #! zsh
if (( $+commands[bat] )); then
alias cat=bat
fi
if (( $+commands[lsd] )); then if (( $+commands[lsd] )); then
alias ls=lsd alias ls=lsd
else else