mirror of
				https://github.com/dcarrillo/prezto.git
				synced 2025-11-04 02:49:08 +00:00 
			
		
		
		
	gpg: fix enable-ssh-support detection
That line may be commented in the config file.
This commit is contained in:
		
				
					committed by
					
						
						Kaleb Elwert
					
				
			
			
				
	
			
			
			
						parent
						
							e6136a517b
						
					
				
				
					commit
					db48a22c74
				
			@@ -29,7 +29,7 @@ fi
 | 
				
			|||||||
export GPG_TTY="$(tty)"
 | 
					export GPG_TTY="$(tty)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Integrate with the SSH module.
 | 
					# Integrate with the SSH module.
 | 
				
			||||||
if grep 'enable-ssh-support' "$_gpg_agent_conf" &> /dev/null; then
 | 
					if grep '^enable-ssh-support' "$_gpg_agent_conf" &> /dev/null; then
 | 
				
			||||||
  # Load required functions.
 | 
					  # Load required functions.
 | 
				
			||||||
  autoload -Uz add-zsh-hook
 | 
					  autoload -Uz add-zsh-hook
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user