temp!
This commit is contained in:
		
							parent
							
								
									b1129a164d
								
							
						
					
					
						commit
						79351eb90b
					
				@ -16,7 +16,10 @@ fi
 | 
			
		||||
 | 
			
		||||
# Abstract different ways to paste from the clipboard.
 | 
			
		||||
# TODO: Use OSC-52 to get the clipboard, not widely supported though
 | 
			
		||||
if [ "`uname`" = "Darwin" ]; then
 | 
			
		||||
if [ -n "$SSH_CONNECTION" ]; then
 | 
			
		||||
  # Use  OSC-52 to get the clipboard
 | 
			
		||||
  alias paste='printf "\033]52;c;?\a"'
 | 
			
		||||
elif [ "`uname`" = "Darwin" ]; then
 | 
			
		||||
  # Use pbpaste to get the clipboard
 | 
			
		||||
  alias paste='pbpaste'
 | 
			
		||||
elif which xclip &> /dev/null; then
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user