mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-01-14 14:48:07 +01:00
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
This commit is contained in:
parent
a55dbe9caa
commit
22ffef4a1f
2
rc/zshrc
2
rc/zshrc
@ -687,7 +687,7 @@ if ! hash btraceback 2> /dev/null; then
|
|||||||
alias less="bat --paging=always"
|
alias less="bat --paging=always"
|
||||||
export MANPAGER="sh -c 'sed -u -e \"s/\\x1B\[[0-9;]*m//g; s/.\\x08//g\" | bat -p -lman'"
|
export MANPAGER="sh -c 'sed -u -e \"s/\\x1B\[[0-9;]*m//g; s/.\\x08//g\" | bat -p -lman'"
|
||||||
# zsh only! not bash!
|
# 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'
|
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
|
||||||
fi
|
fi
|
||||||
if hash rg 2> /dev/null; then
|
if hash rg 2> /dev/null; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user