Created
          February 16, 2011 10:56 
        
      - 
      
- 
        Save trekdemo/829196 to your computer and use it in GitHub Desktop. 
    Diff files selected in the TextMate drawer with Kaleidoscope
  
        
  
    
      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
    
  
  
    
  | sudo ln -s /usr/local/bin/ksdiff /usr/bin/ksdiff | 
  
    
      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
    
  
  
    
  | eval arr=("$TM_SELECTED_FILES") | |
| if [[ ${#arr[@]} != 2 ]]; then | |
| exit_show_tool_tip $'You need to select exactly two\nfiles in the project drawer.' | |
| fi | |
| eval ksdiff "$TM_SELECTED_FILES" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment