add bat help

This commit is contained in:
Daylin Morgan 2022-07-06 11:53:10 -05:00
parent 710e30d350
commit c8025c2cde

View file

@ -72,3 +72,8 @@ py2nb2html() {
echo "generating html file for $pyfile" echo "generating html file for $pyfile"
jupytext --to notebook -o - $pyfile | jupyter nbconvert --execute --to html --stdin $@ jupytext --to notebook -o - $pyfile | jupyter nbconvert --execute --to html --stdin $@
} }
alias bathelp='bat --plain --language=help'
help() {
"$@" --help 2>&1 | bathelp
}