Переделана работа с агентами (вынесена в отдельный файл)
This commit is contained in:
		
							
								
								
									
										3
									
								
								.zshrc
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								.zshrc
									
									
									
									
									
								
							@@ -10,6 +10,9 @@ source $ZDOTDIR/options.zsh
 | 
			
		||||
source $ZDOTDIR/plugins.zsh
 | 
			
		||||
[ -e $ZDOTDIR/plugins.user.zsh ] && source $ZDOTDIR/plugins.user.zsh
 | 
			
		||||
 | 
			
		||||
source $ZDOTDIR/agents.zsh
 | 
			
		||||
[ -e $ZDOTDIR/agents.user.zsh ] && source $ZDOTDIR/agents.user.zsh
 | 
			
		||||
 | 
			
		||||
source $ZDOTDIR/aliases.zsh
 | 
			
		||||
[ -e $ZDOTDIR/aliases.user.zsh ] && source $ZDOTDIR/aliases.user.zsh
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										23
									
								
								agents.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								agents.zsh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
# Copy this file to agents.user.zsh and modify to your needs
 | 
			
		||||
 | 
			
		||||
##
 | 
			
		||||
# SSH agent
 | 
			
		||||
##
 | 
			
		||||
# zstyle :omz:plugins:ssh-agent agent-forwarding on
 | 
			
		||||
# zstyle :omz:plugins:ssh-agent identities id_rsa
 | 
			
		||||
# zstyle :omz:plugins:ssh-agent lifetime 10h
 | 
			
		||||
# antibody bundle ohmyzsh/ohmyzsh path:plugins/ssh-agent
 | 
			
		||||
 | 
			
		||||
##
 | 
			
		||||
# GPG agent
 | 
			
		||||
##
 | 
			
		||||
# antibody bundle ohmyzsh/ohmyzsh path:plugins/gpg-agent
 | 
			
		||||
 | 
			
		||||
##
 | 
			
		||||
# Keychain
 | 
			
		||||
##
 | 
			
		||||
# zstyle :omz:plugins:keychain identities id_rsa 01234567
 | 
			
		||||
# zstyle :omz:plugins:keychain options --quiet --inherit local-once --noask --nocolor --quick
 | 
			
		||||
# zstyle :omz:plugins:keychain agents gpg,ssh
 | 
			
		||||
# antibody bundle ohmyzsh/ohmyzsh path:plugins/keychain
 | 
			
		||||
 | 
			
		||||
@@ -1,3 +0,0 @@
 | 
			
		||||
zstyle :omz:plugins:keychain agents gpg,ssh
 | 
			
		||||
zstyle :omz:plugins:keychain identities id_rsa 01234567
 | 
			
		||||
zstyle :omz:plugins:keychain options --quiet --inherit local-once --noask --nocolor --quick
 | 
			
		||||
@@ -20,7 +20,3 @@ antibody bundle ohmyzsh/ohmyzsh path:plugins/systemd
 | 
			
		||||
antibody bundle ohmyzsh/ohmyzsh path:plugins/vim-interaction
 | 
			
		||||
antibody bundle ohmyzsh/ohmyzsh path:plugins/web-search
 | 
			
		||||
 | 
			
		||||
[ -e $ZDOTDIR/keychain-config.zsh ] && source $ZDOTDIR/keychain-config.zsh
 | 
			
		||||
antibody bundle ohmyzsh/ohmyzsh path:plugins/gpg-agent
 | 
			
		||||
antibody bundle ohmyzsh/ohmyzsh path:plugins/keychain
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user