OK. the issue I'm facing is that when I open the Alfred dialogue and use the 1P command to 'Sign in and update items' I get the terminal saying I'm running an old version of the CLI despite having updated it (I thought)
See Terminal output:
Last login: Thu Jul 21 17:56:24 on ttys000
You have mail.
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
iMac:~ davidbier$ /bin/zsh /var/folders/mt/6hsg69gn461by0hg349zgz6c0000gn/T/tmp.7Yirk0rH
[ERROR] 2022/07/21 18:02:57 cannot create directory "/Users/davidbier/.config/op" and the parent directories: mkdir /Users/davidbier/.config/op: permission denied
./1password.js: execution error: Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)
[ERROR] 2022/07/21 18:02:57 cannot create directory "/Users/davidbier/.config/op" and the parent directories: mkdir /Users/davidbier/.config/op: permission denied
./1password.js: execution error: Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)
/Users/davidbier/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.2188584F-CC60-49F0-8525-BAB76ADBC925/signin.zsh:16: command not found: ''
------------------------- IMPORTANT -------------------------
You have an old version of the 1Password command-line tool.
Install the latest version from:
https://1password.com/downloads/command-line/
Then run the Workflow again.
You may close the terminal.
-------------------------------------------------------------
Here is the Alfred debugger output:
[18:02:13.251] Logging Started...
[18:02:51.694] 1Password[Script Filter] Queuing argument '(null)'
[18:02:51.710] 1Password[Script Filter] Script with argv '(null)' finished
[18:02:51.712] 1Password[Script Filter] { "items": [{
"title": "Sign in and update items",
"subtitle": "Your terminal will open with instructions",
"arg": "update_items"
}] }
[18:02:56.624] 1Password[Script Filter] Processing complete
[18:02:56.626] 1Password[Script Filter] Passing output 'update_items' to Conditional
[18:02:56.627] 1Password[Conditional] Processing complete
[18:02:56.628] 1Password[Conditional] Passing output 'update_items' to Run Script
[18:02:56.638] 1Password[Run Script] Processing complete
[18:02:56.638] 1Password[Run Script] Passing output '/var/folders/mt/6hsg69gn461by0hg349zgz6c0000gn/T/tmp.7Yirk0rH' to Terminal Command
[18:02:57.414] 1Password[Terminal Command] Processing complete
[18:02:57.419] 1Password[Terminal Command] Passing output '/var/folders/mt/6hsg69gn461by0hg349zgz6c0000gn/T/tmp.7Yirk0rH' to Run Script