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
    
  
  
    
  | .PHONY: irc_started irc_finished | |
| define irc_message | |
| remote=$$(git config --get remote.origin.url | tr -d '\n'); \ | |
| if [[ $${remote} =~ (https://|git@)github.com[/:](.*) ]]; then \ | |
| remote_subpath="$${BASH_REMATCH[2]}"; \ | |
| remote_subpath=$${remote_subpath%.git}; \ | |
| remote_url="https://github.com/$${remote_subpath}/pulls"; \ | |
| else \ | |
| echo ""; \ | 
  
    
      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
    
  
  
    
  | { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Launch via npm", | |
| "type": "node", | |
| "request": "launch", | |
| "env": { "BROWSER": "none" }, | |
| "runtimeExecutable": "npm", | |
| "runtimeArgs": ["run-script", "start"], | 
  
    
      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
    
  
  
    
  | try | |
| openRelativeFilePath() | |
| on error errMsg number errNum | |
| display dialog "AppleScript encountered an error." & ¬ | |
| " Error Message: " & errMsg & " Number " & errNum | |
| end try | |
| on openRelativeFilePath() | |
| tell application "BBEdit" | |
| set theURL to missing value | 
  
    
      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
    
  
  
    
  | try | |
| tell application "BBEdit" | |
| set theJavaScript to contents of document 1 | |
| end tell | |
| tell application "Safari" | |
| activate | |
| do JavaScript theJavaScript in document 1 | |
| end tell | |
| on error errMsg number errNum |