Move ssh_agent_is_started to its own function. Close #1.

This commit is contained in:
Daniel Perez
2015-11-12 06:46:41 +09:00
parent 5aa699d465
commit ceeb86bbcc
3 changed files with 14 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
function __ssh_agent_start
function __ssh_agent_start -d "start a new ssh agent"
ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV
chmod 600 $SSH_ENV
source $SSH_ENV > /dev/null