Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to store "no" in authentication permanently #29

Open
blueyed opened this issue May 9, 2015 · 1 comment
Open

Allow to store "no" in authentication permanently #29

blueyed opened this issue May 9, 2015 · 1 comment

Comments

@blueyed
Copy link
Collaborator

blueyed commented May 9, 2015

Saying "no" (not "yes") to the "Would you like to authorize it?" question should not ask you again in the same shell session.

Additionally, a "no, never" option would allow to store this information (with the current hash) in the authorization file.

When ignoring a file because of this, a note might be displayed - once per shell session.

This would look like this then:

Would you like to authorize it? (type 'yes', or 'no' to not being asked about the file again)

I feel like the explanation should be better, maybe across two lines. It should also mention that everything else ignores it for the current shell.

What do you think?

blueyed added a commit to blueyed/zsh-autoenv that referenced this issue May 9, 2015
This basically caches $_autoenv_check_authorized_env_file in
$_autoenv_asked_already.  This should also improve the case for
authorized files.

Ref: Tarrasch#29
blueyed added a commit to blueyed/zsh-autoenv that referenced this issue May 10, 2015
This basically caches $_autoenv_check_authorized_env_file in
$_autoenv_asked_already.  This should also improve the case for
authorized files.

Ref: Tarrasch#29
@rspeed
Copy link
Contributor

rspeed commented Jan 12, 2017

I think I might give this a go when I have some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants