unixorn / zsh-quickstart-kit

A simple ZSH quickstart for using ZSH, zgenom, oh-my-zsh and a curated list of extra plugins. It is designed to be easy to customize without requiring you to maintain your own fork.
BSD 3-Clause "New" or "Revised" License
775 stars 94 forks source link

[BUG] SSH-agent is completely broken when 1Password CLI is installed on Linux #265

Closed daemonspudguy closed 1 year ago

daemonspudguy commented 1 year ago

Describe the bug

SSH-agent is completely broken when 1Password CLI is installed on Linux

To Reproduce

Steps to reproduce the behavior:

  1. Have 1password CLI installed on Linux
  2. Open terminal

    Expected behavior

The ssh-agent lists the keys

Desktop (please complete the following information):

Additional context

The change that broke this is #243

daemonspudguy commented 1 year ago

Update: On Linux, 1Password's agent.sock file is in ~/.1password

unixorn commented 1 year ago

Thanks for letting me know where the sock file is, that'll make this easier to fix

unixorn commented 1 year ago

@daemonspudguy - please try checking out the fix-1p-on-linux branch and let me know if that fixes the issue.

daemonspudguy commented 1 year ago

That's actually how I ended up fixing it, so it should work.

daemonspudguy commented 1 year ago

No, the file is ~/.1password/agent.sock.

daemonspudguy commented 1 year ago

~/.1password is a folder.

daemonspudguy commented 1 year ago

The path is exactly "~/.1password/agent.sock"