mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-17 11:20:09 +00:00
fix(ssh-agent): silence ssh-add
if quiet mode is enabled (#11201)
Fixes #11201
This commit is contained in:
parent
23f3ded92d
commit
1c879f67b4
1 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,9 @@ function _add_identities() {
|
|||
local args
|
||||
zstyle -a :omz:plugins:ssh-agent ssh-add-args args
|
||||
|
||||
# if ssh-agent quiet mode, pass -q to ssh-add
|
||||
zstyle -t :omz:plugins:ssh-agent quiet && args=(-q $args)
|
||||
|
||||
# use user specified helper to ask for password (ksshaskpass, etc)
|
||||
local helper
|
||||
zstyle -s :omz:plugins:ssh-agent helper helper
|
||||
|
|
Loading…
Reference in a new issue