From: Daniel Hahler Date: Wed, 18 Nov 2015 18:23:05 +0000 (+0100) Subject: _autoenv_debug: fix error with Zsh 5.0.5 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=1220d246b0e066fa0b5db9ee4e97f15bebb06529;p=zsh-autoenv.git _autoenv_debug: fix error with Zsh 5.0.5 > _autoenv_debug:local:1: not valid in this context: handler: Fixes https://github.com/Tarrasch/zsh-autoenv/issues/38. --- diff --git a/autoenv.zsh b/autoenv.zsh index f7e4f98..df90cc5 100644 --- a/autoenv.zsh +++ b/autoenv.zsh @@ -140,7 +140,7 @@ _autoenv_stack_entered_contains() { # Internal function for debug output. {{{ _autoenv_debug() { - local msg=$1 + local msg="$1" local level=${2:-1} if [[ $AUTOENV_DEBUG -lt $level ]]; then return