Skip to content

Instantly share code, notes, and snippets.

@therealparmesh
Created July 17, 2025 18:43
Show Gist options
  • Save therealparmesh/ebabe3e9037ac6ffb48ace98bf7a04e8 to your computer and use it in GitHub Desktop.
Save therealparmesh/ebabe3e9037ac6ffb48ace98bf7a04e8 to your computer and use it in GitHub Desktop.
bunny - fuzzy finder for bun run
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