Fix autoenv's use of zstat
This commit is contained in:
parent
9e4c984822
commit
7bb6a459ee
@ -75,6 +75,9 @@ commands:
|
|||||||
# Global entered directories array.
|
# Global entered directories array.
|
||||||
_autoenv_entered=()
|
_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,
|
# 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
|
# ignore, or view the file. Authorized files and their modified times are
|
||||||
# stored in the ~/.cache/autoenv/authorized file to make authorization
|
# stored in the ~/.cache/autoenv/authorized file to make authorization
|
||||||
|
Loading…
x
Reference in New Issue
Block a user