Created
July 17, 2025 18:43
-
-
Save therealparmesh/ebabe3e9037ac6ffb48ace98bf7a04e8 to your computer and use it in GitHub Desktop.
bunny - fuzzy finder for bun run
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
| bunny() { | |
| local script | |
| script=$(bun run | sed 's/\x1b\[[0-9;]*m//g' | rg --replace '$2' '(\s+)\$ bun run (\S+)' | fzf) | |
| if [[ -n "$script" ]]; then | |
| bun run "$script" | |
| fi | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment