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 for running 'unlocked' without launching the agent #223

Open
adamcstephens opened this issue Dec 20, 2024 · 2 comments
Open

Allow for running 'unlocked' without launching the agent #223

adamcstephens opened this issue Dec 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@adamcstephens
Copy link

I was attempting to use rbw unlocked in a direnv .envrc file to determine whether some environment changes could be loaded. Unfortunately, because calling unlocked launches the agent, direnv will hang indefinitely. Would it be possible to have a flag to disabling agent launch on the unlocked check?

Thanks!

@sedlund
Copy link

sedlund commented Dec 20, 2024

Would checking if its running first work?

pidof -q rbw-agent && rbw unlocked

@adamcstephens
Copy link
Author

That’s what I’ve done for now. It does seem odd to me that it launches the agent at all.

@doy doy added the enhancement New feature or request label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants