From 4e90cdc87591d2e140c1697fa0b5671ed0e04c27 Mon Sep 17 00:00:00 2001 From: Srijan R Shetty Date: Mon, 8 Dec 2014 23:19:49 +0530 Subject: [PATCH] Dirty fix for #14 --- autoenv.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoenv.zsh b/autoenv.zsh index bcd3af3..702a42b 100644 --- a/autoenv.zsh +++ b/autoenv.zsh @@ -57,7 +57,7 @@ _autoenv_stack_entered_add() { # 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) + # _autoenv_stack_entered_mtime[$env_file]=$(_autoenv_get_file_mtime $env_file) } _autoenv_get_file_mtime() { @@ -72,8 +72,8 @@ _autoenv_get_file_mtime() { _autoenv_stack_entered_remove() { local env_file=$1 _autoenv_debug "[stack] removing: $env_file" 2 - _autoenv_stack_entered[$_autoenv_stack_entered[(i)$env_file]]=() - _autoenv_stack_entered_mtime[$env_file]= + _autoenv_stack_entered[_autoenv_stack_entered[(i)$env_file]]=() + # _autoenv_stack_entered_mtime[$env_file]= } # Is the given entry already in the stack?