mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Merge 295cd8207f into d6ccb41d0b
This commit is contained in:
commit
85f9e785ab
1 changed files with 2 additions and 0 deletions
|
|
@ -30,6 +30,8 @@ if ! gpg-connect-agent --quiet /bye > /dev/null 2> /dev/null; then
|
|||
if ssh-add -l > /dev/null 2> /dev/null; then
|
||||
# ssh-agent running, start gpg-agent without ssh support
|
||||
start_agent_nossh;
|
||||
elif [[ "$OSTYPE" = "darwin"* ]]; then
|
||||
start_agent_nossh
|
||||
else
|
||||
# otherwise start gpg-agent with ssh support
|
||||
start_agent_withssh;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue