summary refs log tree commit diff stats
path: root/user/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'user/zsh/zshrc')
-rw-r--r--user/zsh/zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/zsh/zshrc b/user/zsh/zshrc
index 2c87e5a7..0331a083 100644
--- a/user/zsh/zshrc
+++ b/user/zsh/zshrc
@@ -169,3 +169,8 @@ tere() {
   local result=$(command tere "$@")
   [ -n "$result" ] && cd -- "$result"
 }
+
+alias bathelp='bat --plain --language=help'
+help() {
+    "$@" --help 2>&1 | bathelp
+}