From 22ffef4a1faef246c28f7c60392aeb5aeb500c2a Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 6 Jan 2026 11:57:26 +0200 Subject: [PATCH] zshrc: comment the -h alias of bat's, too much headache compared to worth when I say -h, I generally mean human readable, not that I want help for du and df neither of which understands this alias --- rc/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/zshrc b/rc/zshrc index 9da700d9..3a5ddcd8 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -687,7 +687,7 @@ if ! hash btraceback 2> /dev/null; then alias less="bat --paging=always" export MANPAGER="sh -c 'sed -u -e \"s/\\x1B\[[0-9;]*m//g; s/.\\x08//g\" | bat -p -lman'" # zsh only! not bash! - alias -g -- -h='-h 2>&1 | bat --language=help --style=plain' + #alias -g -- -h='-h 2>&1 | bat --language=help --style=plain' alias -g -- --help='--help 2>&1 | bat --language=help --style=plain' fi if hash rg 2> /dev/null; then