aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index abac550..2f5c278 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -80,6 +80,8 @@ alias mkdir='mkdir -vp'
alias acp='acp -g'
alias amv='amv -g'
+have() { command -v "$1" >&/dev/null; }
+
# Colored man
man() {
env LESS_TERMCAP_mb=$(printf "\e[1;31m") \