1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-09-08 01:44:58 +03:00

Declare variable "line" locally (#101)

Fixes #100
This commit is contained in:
Mickaël PERRIN 2024-06-04 22:47:50 +02:00 committed by GitHub
parent e9809c1bd2
commit f5951dd0cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,6 +162,7 @@ _autoenv_stack_entered_contains() {
# Internal function for debug output. {{{
_autoenv_debug() {
local level=${2:-1}
local line
if (( AUTOENV_DEBUG < level )); then
return
fi