From 80fa5e137672a529f65a05e396b40f0d133b2432 Mon Sep 17 00:00:00 2001 From: Carlo Sala Date: Thu, 5 Sep 2024 20:20:45 +0200 Subject: [PATCH] fix(1password): copy password properly in `opswd` Closes #12635 --- plugins/1password/opswd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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