mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
batcat -> bat alias
This commit is contained in:
8
dotfiles/zshrc.d/aliases.zsh
Normal file
8
dotfiles/zshrc.d/aliases.zsh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
# On some systems, bat is batcat
|
||||||
|
if ! command -v bat >/dev/null 2>&1 ; then
|
||||||
|
if command -v batcat >/dev/null 2>&1 ; then
|
||||||
|
alias bat=$(command -v batcat)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user