Tarrasch / zsh-autoenv

Autoenv for zsh
700 stars 30 forks source link

_autoenv_debug conflicts with _autoenv_authorized_env_file #100

Closed mickaelperrin closed 5 months ago

mickaelperrin commented 8 months ago

_autoenv_authorized_env_file defines a line variable https://github.com/Tarrasch/zsh-autoenv/blob/e9809c1bd28496e025ca05576f574e08e93e12e8/autoenv.zsh#L237

_autoenv_debug overwrites the value of the line variable https://github.com/Tarrasch/zsh-autoenv/blob/e9809c1bd28496e025ca05576f574e08e93e12e8/autoenv.zsh#L184

This especially break the following condition https://github.com/Tarrasch/zsh-autoenv/blob/e9809c1bd28496e025ca05576f574e08e93e12e8/autoenv.zsh#L241-L242