mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
sed in keychain is unnecessary, we can just redirect any output.
This commit is contained in:
parent
134a262d65
commit
534b4ab12e
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ function start_agent()
|
||||||
local -a identities
|
local -a identities
|
||||||
|
|
||||||
# start ssh-agent and setup environment
|
# start ssh-agent and setup environment
|
||||||
ssh-agent | sed 's/^echo/#echo/' >${ssh_env}
|
ssh-agent >${ssh_env}
|
||||||
chmod 600 $ssh_env
|
chmod 600 $ssh_env
|
||||||
source $ssh_env >/dev/null
|
source $ssh_env >/dev/null
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue