diff options
| author | Carlo Sala <carlosalag@protonmail.com> | 2024-09-05 20:20:45 +0200 |
|---|---|---|
| committer | Carlo Sala <carlosalag@protonmail.com> | 2024-09-05 20:21:14 +0200 |
| commit | 80fa5e137672a529f65a05e396b40f0d133b2432 (patch) | |
| tree | 59e734fc0de023ca98735b8bd6c27ea6d18b8bbc | |
| parent | 95579e3ca181036af31c0c9039fe3edc65c231b4 (diff) | |
| download | zsh-80fa5e137672a529f65a05e396b40f0d133b2432.tar.gz zsh-80fa5e137672a529f65a05e396b40f0d133b2432.tar.bz2 zsh-80fa5e137672a529f65a05e396b40f0d133b2432.zip | |
fix(1password): copy password properly in `opswd`
Closes #12635
| -rw-r--r-- | plugins/1password/opswd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/1password/opswd b/plugins/1password/opswd index 0f667d2ff..753de9f99 100644 --- a/plugins/1password/opswd +++ b/plugins/1password/opswd @@ -27,7 +27,7 @@ function opswd() { local password # Copy the password to the clipboard - if ! password=$(op item get "$service" --fields password 2>/dev/null); then + if ! password=$(op item get "$service" --reveal --fields password 2>/dev/null); then echo "error: could not obtain password for $service" return 1 fi |
