Tarrasch / zsh-autoenv

Autoenv for zsh
700 stars 30 forks source link

Remember non-yes answer for the current shell session #30

Closed blueyed closed 8 years ago

blueyed commented 9 years ago

This basically caches $_autoenv_check_authorized_env_file in $_autoenv_asked_already. This should also improve the case for authorized files.

Ref: https://github.com/Tarrasch/zsh-autoenv/issues/29

blueyed commented 9 years ago

@Tarrasch What do you think about it? (needs to be rebased, but in general)

Tarrasch commented 9 years ago

Seems good.

But I wonder how useful it will be. Were I to say "no" I would probably also delete the env-file as well, as the only time I would "no" a file is if I think it's malicious.

blueyed commented 8 years ago

Good point from the last comment. Closing it for now, given that there are a lot of conflicts.