diff options
Diffstat (limited to 'zsh/env')
| -rw-r--r-- | zsh/env | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ # -*- mode: shell-script -*- +command_exists() { + return $(( !(${+commands[$1]} == 1) )) +} + dotfiles_root() { echo ${${(%):-%x}:A:h:h} } |
