mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
This commit is contained in:
parent
eace590260
commit
1dd3339c82
1 changed files with 2 additions and 1 deletions
|
|
@ -28,7 +28,8 @@ function _plugin__start_agent()
|
|||
# start ssh-agent and setup environment
|
||||
/usr/bin/env ssh-agent | sed 's/^echo/#echo/' > ${_plugin__ssh_env}
|
||||
[[ ! -f ${_plugin__ssh_env} ]] && return 1
|
||||
chmod 600 ${_plugin__ssh_env} . ${_plugin__ssh_env} > /dev/null
|
||||
chmod 600 ${_plugin__ssh_env};
|
||||
. ${_plugin__ssh_env} > /dev/null
|
||||
|
||||
# load identies
|
||||
zstyle -a :omz:plugins:ssh-agent identities identities
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue