#! /bin/zsh # shellcheck shell=bash alias bathelp='bat --plain --language=help' unalias help help() { "$@" --help 2>&1 | bathelp } batdiff() { git diff --name-only --relative --diff-filter=d | xargs bat --diff }