diff --git a/autoenv/autoenv.zsh b/autoenv/autoenv.zsh index 689c66c..7ac6426 100644 --- a/autoenv/autoenv.zsh +++ b/autoenv/autoenv.zsh @@ -75,6 +75,9 @@ commands: # Global entered directories array. _autoenv_entered=() +# Load zstat from stat module for inspecting modified time. +zmodload -F zsh/stat b:zstat + # Check if the given file is authorized, if not prompt the user to authorize, # ignore, or view the file. Authorized files and their modified times are # stored in the ~/.cache/autoenv/authorized file to make authorization