浏览代码

fix(1password): copy password properly in `opswd`

Closes #12635
Carlo Sala 2 月之前
父节点
当前提交
80fa5e1376
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/1password/opswd

+ 1 - 1
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