Level up your business security with free, on-demand training and certification. Explore 1Password Academy today →
Forum Discussion
subsonic_rumble
2 months agoNew Contributor
1password-cli op command causes "would like to access data from other apps." warning
See also https://github.com/1Password/shell-plugins/issues/586, . I am receiving pop up "would like to access data from other apps" warnings when using the op command. This may have appeared with ...
aoberoi
1 month agoNew Contributor
EDIT: Confirmed that commenting out the shell completion line in my `.zshrc` results in no longer seeing this dialog when launching Claude Desktop. This narrows down the issue to a question of how we can make sure this permission is remembered when the shell completion loading line is run even from an "ephemeral" terminal? Other utilities don't seem to have this problem, so I'm hoping there is a way.
I'm also seeing this, in particular when I launch Claude Desktop. My hunch is that the Cowork part of Claude Desktop is launching a shell, which loads my `.zshrc`, which contains the following line to load completions: `eval "$(op completion zsh)"; compdef _op op`, and somehow this triggers the macOS permission dialog.
This does not seem to happen when I launch Ghostty.app or Terminal.app. Or, maybe it did at some point in the past, but the choice to Allow was remembered?
- gege_ahlin1 month agoNew Contributor
Had the same issue. Adding a check if stdout is connected to the session solved it.
My .zshrc now does it like this:if [[ -t 1 ]] && command -v op &>/dev/null; then eval "$(op completion zsh)" compdef _op op fiAnd now the stupidly annoying dialog that opens when launching Claude Desktop is no more...