1Password / shell-plugins

Seamless authentication for every tool in your terminal.
https://developer.1password.com/docs/cli/shell-plugins/
MIT License
507 stars 163 forks source link

Plugins only work inside home directory #407

Open bklebe opened 7 months ago

bklebe commented 7 months ago

op CLI version

2.23.0

Goal or desired behavior

I can use op plugins in any directory on the system.

Current behavior

e.g.

❯ cd ~

~
❯ op plugin inspect gh

GitHub CLI

Configured Aliases

✔ Alias for "gh" configured
✔ Aliases sourced (/Users/bklebe/.config/op/plugins.sh)

Configured Credentials

✔ Configured as global default: 
CREDENTIAL TYPE                 ITEM                            VAULT
GitHub Personal Access Token    GitHub Personal Access Token    Private

~
❯ cd /

/
❯ op plugin inspect gh 

GitHub CLI

Configured Aliases

✔ Alias for "gh" configured
✔ Aliases sourced (/Users/bklebe/.config/op/plugins.sh)

Configured Credentials
<the command hangs, op shows over 100% CPU usage in Activity Monitor>
^C

/
❯ 

Relevant log output

No response

lukas-jansen commented 4 months ago

I got the same issue, only works in my home directory