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

~/.netrc - add account name? #218

Closed
rikkipitt opened this issue Mar 4, 2016 · 3 comments
Closed

~/.netrc - add account name? #218

rikkipitt opened this issue Mar 4, 2016 · 3 comments

Comments

@rikkipitt
Copy link

Hi guys,

Just wondering if you'd consider adding the current logged in account name (from https://github.com/heroku/heroku-accounts) to the .netrc file?

I think it would be useful for quickly determining what account is currently logged into so we can include the name of the account in our terminal prompts... otherwise, is there a way of quickly gleaning this information?

References:
heroku/heroku-accounts#3 (comment)
ddollar/heroku-accounts#80

@jdx
Copy link
Contributor

jdx commented Mar 4, 2016

I'd accept a PR on that plugin for this.

@jdx
Copy link
Contributor

jdx commented Mar 4, 2016

I'll need to close this issue though because it doesn't involve this project.

@jdx jdx closed this as completed Mar 4, 2016
@rikkipitt
Copy link
Author

Thanks @dickeyxxx, I've taken a look at the latest heroku-accounts plugin (which works differently to the original) and have submitted a simple update to help glean the currently logged in account without pinging Heroku: heroku/heroku-accounts#10

Let me know if you deem this to be an acceptable addition. It should mean we can add this command to our command line prompts without affecting performance of the shell.

Cheers!

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