Fix [bat]cat alias on Debian

This commit is contained in:
Josh Sherman 2022-08-15 14:26:27 -05:00
parent ef02a3dfe2
commit 2f370a1113
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -20,7 +20,13 @@ fi
function cd { builtin cd "$@" && ls }
# Colorize cat with bat
if command -v apt &> /dev/null; then
# Debian
alias cat='batcat'
else
# Everybody else
alias cat='bat'
fi
# Disk utility aliases
alias df='df -h'