diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-08 03:28:57 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-08 03:28:57 +0200 |
commit | 78dabd1d649145549287a1d45b0462451a2e64b1 (patch) | |
tree | 884965e757afc3b05b6a02c3b69bb006bd4f4e9d /zsh | |
parent | feb3bae4b7e6994543812b8852c3fad681c500d3 (diff) | |
download | dotfiles-78dabd1d649145549287a1d45b0462451a2e64b1.tar.xz |
zshrc: Add have() function
Courtesy of grawity, <https://github.com/grawity/dotfiles.git> bashrc
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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") \ |