feat: add alias to run bat instead of cat when available, like lsd
This commit is contained in:
parent
990afa5693
commit
64c6dfe98f
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue