diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index f88dc55..4c4c8f5 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -84,6 +84,11 @@ if [[ "$(command -v bat)" || "$(command -v batcat)" ]]; then export BAT_THEME="gruvbox-dark" export BAT_PAGER="less $LESS" export PAGER=bat + + ## this breaks symlink testing with [ -h ], best not to activate it + # alias -g -- -h='-h 2>&1 | bat --language=help --style=plain' + alias bathelp='bat --language=help --style=plain' + alias -g -- --help='--help 2>&1 | bathelp ' fi if [[ $SSH_CLIENT ]]; then