mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 12:30:32 +01:00
Alias cat to bat when available
This commit is contained in:
@@ -286,6 +286,8 @@ fi
|
||||
# Use bat as a man pager if it's available
|
||||
if (( $+commands[bat] )); then
|
||||
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||
# And replace cat while we're at it
|
||||
alias cat='bat'
|
||||
fi
|
||||
|
||||
############################
|
||||
|
||||
Reference in New Issue
Block a user