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/bash | |
| # recent_blame: Find the most recent changes related to a keyword. | |
| # | |
| # This function searches for a keyword in your git repository using ripgrep, | |
| # collects all matching files, and then inspects git blame for those files. | |
| # It compiles a globally sorted list of the most recent lines related to your | |
| # keyword, optionally filtered by include / exclude patterns. | |
| # | |
| # Behavior: |
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
| #!/usr/bin/env node | |
| const fs = require('fs'); | |
| const readline = require('readline'); | |
| // Function to print to stderr | |
| function printerr(s) { | |
| process.stderr.write(s + '\n'); | |
| } |