1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-12-22 19:00:15 +02:00

minor: fix debug message ordering

This commit is contained in:
Daniel Hahler 2014-12-09 23:10:54 +01:00
parent 07069d8cbe
commit 5a968c8299

View File

@ -49,11 +49,11 @@ typeset -A _autoenv_stack_entered_mtime
_autoenv_stack_entered_add() {
local env_file=$1
_autoenv_debug "[stack] adding: $env_file" 2
# Remove any existing entry.
_autoenv_stack_entered_remove $env_file
_autoenv_debug "[stack] adding: $env_file" 2
# Append it to the stack, and remember its mtime.
_autoenv_stack_entered+=($env_file)
_autoenv_stack_entered_mtime[$env_file]=$(_autoenv_get_file_mtime $env_file)