summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ssh-agent/ssh-agent.plugin.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/ssh-agent/ssh-agent.plugin.zsh b/plugins/ssh-agent/ssh-agent.plugin.zsh
index 0d6a35b35..78ac46b13 100644
--- a/plugins/ssh-agent/ssh-agent.plugin.zsh
+++ b/plugins/ssh-agent/ssh-agent.plugin.zsh
@@ -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