Last active
          December 18, 2015 15:39 
        
      - 
      
 - 
        
Save mccutchen/5805844 to your computer and use it in GitHub Desktop.  
    Provides a `pbcopy` command on a VM that allows me to easily copy stuff onto the (OS X) host's clipboard
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/sh | |
| set -e | |
| ssh mccutchen@$(remote_host) pbcopy | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/sh | |
| set -e | |
| [ -n "$SSH_CLIENT" ] && echo "$SSH_CLIENT" | awk '{print $1}' || echo "deckle.local" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
what's "deckle.local"?