diff options
Diffstat (limited to '20_Options.zsh')
-rw-r--r-- | 20_Options.zsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/20_Options.zsh b/20_Options.zsh index cb25a94..e5c8b40 100644 --- a/20_Options.zsh +++ b/20_Options.zsh @@ -40,16 +40,16 @@ function SetOPTifExists() { # option exists, set it. case "$2" in on) - [ "$DEBUG" = "yes" ] && echo "setopt $option" >&2 + __debug "setopt $option" setopt $option ;; off) - [ "$DEBUG" = "yes" ] && echo "unsetopt $option" >&2 + __debug "unsetopt $option" unsetopt $option ;; esac else - [ "$DEBUG" = "yes" ] && echo "$option not supported by this version of zsh !" >&2 + __debug "$option not supported by this version of zsh !" fi } |