zsh:alias: Pipe --help output into less

This commit is contained in:
2024-01-25 17:45:46 +01:00
parent 700c661e04
commit 11f5a60039

View File

@@ -58,6 +58,8 @@ fi
# Manually trigger alias expansion for the next word
# Taken from https://unix.stackexchange.com/a/433849
alias -g '$= '
# Don't clutter scrollback with help pages
alias -g -- '--help'='--help | less'
# Git
alias g='git'