passc
This commit is contained in:
		
							parent
							
								
									a12791803a
								
							
						
					
					
						commit
						4c5082690f
					
				@ -69,3 +69,8 @@ test -x /usr/bin/lesspipe && eval `lesspipe`
 | 
			
		||||
test -x /usr/bin/vim && export EDITOR=/usr/bin/vim
 | 
			
		||||
 | 
			
		||||
export MPD_HOST=127.0.0.1 MPD_PORT=6600
 | 
			
		||||
 | 
			
		||||
# passc
 | 
			
		||||
passc() {
 | 
			
		||||
  pass show "$1" | (read i; cat; echo "$i" | xclip -l 1)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								zshrc
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										2
									
								
								zshrc
									
									
									
									
									
								
							@ -18,6 +18,8 @@ alias gm=gm   # graphicsmagick
 | 
			
		||||
alias l='ls -lha'
 | 
			
		||||
alias ar=ar
 | 
			
		||||
 | 
			
		||||
compdef passc=pass
 | 
			
		||||
 | 
			
		||||
# History
 | 
			
		||||
setopt APPEND_HISTORY SHARE_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY \
 | 
			
		||||
  HIST_IGNORE_ALL_DUPS HIST_FIND_NO_DUPS HIST_IGNORE_SPACE
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user