Zed Agent, API keys and 1Password #31890
xtrasmal
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Exporting keys or importing keys is horrible. Best is to use your good old password manager.
Below you can read a workflow I use.
Running Zed using 1Password
1. Create an env file
touch ~/.config/zed/.env
2. Add the keys to the .env
3. Run Zed
Usually you will run Zed like so:
zed .
.But now you will have to pick out of the following flavours.
3a. Flavour 1
op run --env-file ~/.config/zed/.env -- zed .
3b. Flavour 2
3c. Flavour 3
If you don't want to use a .env file, create a script in your $PATH(or nor).
Add the code.
Run it.
run_zed .
Beta Was this translation helpful? Give feedback.
All reactions