Also alias batcat
This commit is contained in:
parent
b1129a164d
commit
8628448d5d
@ -66,8 +66,11 @@ if which bat &> /dev/null; then
|
||||
# Both --theme and --color can be specified multiple times and will override
|
||||
# these defaults.
|
||||
bat() {
|
||||
command bat --theme='TwoDark' --color always \
|
||||
--paging always --pager 'less -R' "$@"
|
||||
command bat --theme='TwoDark' --color always --paging auto "$@"
|
||||
}
|
||||
elif which batcat &> /dev/null; then
|
||||
bat() {
|
||||
command batcat --theme='TwoDark' --color always --paging auto "$@"
|
||||
}
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user