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

Init arrays (see #14)

This commit is contained in:
Daniel Hahler 2014-12-09 23:12:38 +01:00
parent 5a968c8299
commit 53da60d3e3

View File

@ -43,7 +43,9 @@ autoenv_source_parent() {
# Internal functions. {{{ # Internal functions. {{{
# Internal: stack of entered (and handled) directories. {{{ # Internal: stack of entered (and handled) directories. {{{
typeset -a _autoenv_stack_entered typeset -a _autoenv_stack_entered
_autoenv_stack_entered=()
typeset -A _autoenv_stack_entered_mtime typeset -A _autoenv_stack_entered_mtime
_autoenv_stack_entered_mtime=()
# Add an entry to the stack, and remember its mtime. # Add an entry to the stack, and remember its mtime.
_autoenv_stack_entered_add() { _autoenv_stack_entered_add() {