From c04754fa0e9816f5f3814dedf4aacdcd348c2642 Mon Sep 17 00:00:00 2001 From: Max Kovgan Date: Mon, 14 Aug 2017 14:52:39 +0300 Subject: [PATCH] added bash-it metadata to operational function - per @nwinkler CR request Signed-off-by: Max Kovgan --- plugins/available/sshagent.plugin.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/available/sshagent.plugin.bash b/plugins/available/sshagent.plugin.bash index 598e0705..14db47d4 100644 --- a/plugins/available/sshagent.plugin.bash +++ b/plugins/available/sshagent.plugin.bash @@ -122,6 +122,10 @@ function _ensure_sshagent_dead() { function sshagent() { + about 'ensures ssh-agent is up and running' + param '1: on|off ' + example '$ sshagent on' + group 'ssh' [[ -v SSH_AGENT_ENV ]] \ || export SSH_AGENT_ENV="${HOME}/.ssh/agent_env.${HOSTNAME}"