Bug - Can't enable command-line completion when 1Password Connect is configured

janartodesk
janartodesk
Community Member

It is impossible to enable command-line completion when the environment is configured to use 1Password Connect:

$ op completion bash > /dev/null
$ export OP_CONNECT_HOST="http://host:8000/"
$ op completion bash > /dev/null
$ export OP_CONNECT_TOKEN="supersecret"
$ op completion bash > /dev/null
[ERROR] 2023/12/20 09:47:42 "op completion" doesn't work with Connect. Please unset 'OP_CONNECT_HOST' and 'OP_CONNECT_TOKEN' to use this command.

CLI version:

$ op --version
2.24.0

1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided

This discussion has been closed.