mirror of
				https://github.com/dcarrillo/prezto.git
				synced 2025-11-04 02:49:08 +00:00 
			
		
		
		
	Load add-zsh-hook in GPG module
Fixes this error:
    ~/.zprezto/modules/gpg/init.zsh:43: command not found: add-zsh-hook
			
			
This commit is contained in:
		
				
					committed by
					
						
						Sorin Ionescu
					
				
			
			
				
	
			
			
			
						parent
						
							a7e4b447b3
						
					
				
				
					commit
					2ad1b2f5b1
				
			@@ -30,6 +30,9 @@ export GPG_TTY="$(tty)"
 | 
			
		||||
 | 
			
		||||
# Integrate with the SSH module.
 | 
			
		||||
if grep 'enable-ssh-support' "$_gpg_agent_conf" &> /dev/null; then
 | 
			
		||||
  # Load required functions.
 | 
			
		||||
  autoload -Uz add-zsh-hook
 | 
			
		||||
 | 
			
		||||
  # Override the ssh-agent environment file default path.
 | 
			
		||||
  _ssh_agent_env="$_gpg_agent_env"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user