[bump]
This commit is contained in:
		
							parent
							
								
									91dc936adb
								
							
						
					
					
						commit
						14d3c32ac3
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
					@ -1,8 +1,6 @@
 | 
				
			||||||
if [[ "$(uname)" != "Darwin" ]]; then
 | 
					if [[ "$(uname)" != "Darwin" ]]; then
 | 
				
			||||||
  if type ssh-agent &>/dev/null; then
 | 
					  if type ssh-agent &>/dev/null; then
 | 
				
			||||||
    ssh-add &>/dev/null || eval `ssh-agent -s`
 | 
					    pidof ssh-agent || eval `ssh-agent -s`
 | 
				
			||||||
    if [[ "$(ssh-add -l)" == "The agent has no identities." ]] ; then
 | 
					    ssh-add -l &>/dev/null || sh-add ~/.ssh/id_rsa
 | 
				
			||||||
      ssh-add ~/.ssh/id_rsa
 | 
					 | 
				
			||||||
    fi
 | 
					 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue