1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-22 07:20:59 +02:00

Add comment for "autoenv_debug: fix error with Zsh 5.0.5"

This commit is contained in:
Daniel Hahler 2015-11-18 19:28:33 +01:00
parent 6a91336b01
commit 20046b46ba

View File

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