]> Sergey Matveev's repositories - zsh-autoenv.git/commitdiff
Add comment for "autoenv_debug: fix error with Zsh 5.0.5"
authorDaniel Hahler <git@thequod.de>
Wed, 18 Nov 2015 18:28:33 +0000 (19:28 +0100)
committerDaniel Hahler <git@thequod.de>
Wed, 18 Nov 2015 18:28:37 +0000 (19:28 +0100)
autoenv.zsh

index df90cc5c35dda6da7017ebd07e15d5886e372ded..7b6d8da04038632136792d4924f933915e1ea603 100644 (file)
@@ -140,7 +140,7 @@ _autoenv_stack_entered_contains() {
 
 # Internal function for debug output. {{{
 _autoenv_debug() {
-  local msg="$1"
+  local msg="$1"  # Might trigger a bug in Zsh 5.0.5 with shwordsplit.
   local level=${2:-1}
   if [[ $AUTOENV_DEBUG -lt $level ]]; then
     return