diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2021-03-14 11:07:01 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2021-03-14 11:19:39 +0000 |
| commit | 5438197b6dc9ff171c9d7b2e6de3b21e7567cc45 (patch) | |
| tree | ea5471e32bedf4d4a18c48eab6a18cd5dacf7097 /zsh | |
| parent | e8e4ba05251d0bc4fa1b1d82c73892c64c4f7b86 (diff) | |
zsh/op-ssh-add: Pass one private key to ssh-add
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/functions/op-ssh-add | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/functions/op-ssh-add b/zsh/functions/op-ssh-add index ad55d6c..646b7f7 100644 --- a/zsh/functions/op-ssh-add +++ b/zsh/functions/op-ssh-add @@ -35,7 +35,7 @@ if [[ -z ${session} ]]; then return 1 fi zmodload zsh/zpty -zpty ssh $(which -p ssh-add) $@ +zpty ssh $(which -p ssh-add) ${prv} zpty -w ssh $(op list items --session ${session} --tags SSH \ | op get item \ --fields fingerprint,password \ |
