how to fix command not found: op in .zshenv

Options
livytl
livytl
Community Member

op --version returns the version properly,

however when i add it in .zshenv
eval "$(op signin)"

it says command not found:op when i start terminal


1Password Version: Not Provided
Extension Version: 2.12.0
OS Version: macOS 13.0.1, M2 chip
Browser:_ CLI, zsh, iterm

Comments

  • Hi @livytl:

    Are you running the eval "$(op signin)" command prior to a command that would add the op executable to your PATH environment variable? If that's the case, you'll need to re-arrange your .zshenv order to ensure that PATH contains op before trying to use the eval command. Let me know how you get on with that.

    Jack

This discussion has been closed.