summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2021-10-16 10:20:06 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2021-10-16 10:20:06 +0100
commiteb676e8cfa3cd8f68a3a430cafc41dda96f8870e (patch)
tree3da050564b55e9949f4393102d74dd83803c34c5
parenteebb731590259881c59eaf39a21ad2d026c4b5fc (diff)
zsh/op-ssh-add: Remove superfluous jq option
-rw-r--r--zsh/functions/op-ssh-add2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/functions/op-ssh-add b/zsh/functions/op-ssh-add
index 3a39585..a6633bf 100644
--- a/zsh/functions/op-ssh-add
+++ b/zsh/functions/op-ssh-add
@@ -54,5 +54,5 @@ zpty -w ssh $(trap -
| op get item \
--fields fingerprint,password \
--session ${session} - \
- | jq -jr "select(.fingerprint == \"${fp}\") | .password")
+ | jq -j "select(.fingerprint == \"${fp}\") | .password")
zpty -r ssh