mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 01:03:05 +08:00
fix(ssh-agent): silence ssh-add
if quiet mode is enabled (#11201)
Fixes #11201
This commit is contained in:
parent
23f3ded92d
commit
1c879f67b4
|
@ -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 New Issue
Block a user