mirror of
				https://github.com/dcarrillo/prezto.git
				synced 2025-11-04 14:29:08 +00:00 
			
		
		
		
	Add utility aliases for Cygwin
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
This commit is contained in:
		
				
					committed by
					
						
						Sorin Ionescu
					
				
			
			
				
	
			
			
			
						parent
						
							459238b2bb
						
					
				
				
					commit
					622e7b117b
				
			@@ -105,6 +105,11 @@ alias sl='ls'            # I often screw this up.
 | 
			
		||||
if [[ "$OSTYPE" == darwin* ]]; then
 | 
			
		||||
  alias o='open'
 | 
			
		||||
  alias get='curl --continue-at - --location --progress-bar --remote-name --remote-time'
 | 
			
		||||
elif [[ "$OSTYPE" == cygwin* ]]; then
 | 
			
		||||
  alias o='cygstart'
 | 
			
		||||
  alias get='wget --continue --progress=bar --timestamping'
 | 
			
		||||
  alias pbcopy='tee > /dev/clipboard'
 | 
			
		||||
  alias pbpaste='cat /dev/clipboard'
 | 
			
		||||
else
 | 
			
		||||
  alias o='xdg-open'
 | 
			
		||||
  alias get='wget --continue --progress=bar --timestamping'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user