mirror of
				https://github.com/dcarrillo/prezto.git
				synced 2025-11-04 06:19:09 +00:00 
			
		
		
		
	Simplify a conditional
This commit is contained in:
		@@ -114,9 +114,7 @@ else
 | 
			
		||||
  if (( $+commands[xclip] )); then
 | 
			
		||||
    alias pbcopy='xclip -selection clipboard -in'
 | 
			
		||||
    alias pbpaste='xclip -selection clipboard -out'
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
  if (( $+commands[xsel] )); then
 | 
			
		||||
  elif (( $+commands[xsel] )); then
 | 
			
		||||
    alias pbcopy='xsel --clipboard --input'
 | 
			
		||||
    alias pbpaste='xsel --clipboard --output'
 | 
			
		||||
  fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user