Skip to content

feat: add ripgrep support#67

Open
oneWaveAdrian wants to merge 1 commit into
sampson-chen:masterfrom
oneWaveAdrian:feat/ripgrep-support
Open

feat: add ripgrep support#67
oneWaveAdrian wants to merge 1 commit into
sampson-chen:masterfrom
oneWaveAdrian:feat/ripgrep-support

Conversation

@oneWaveAdrian
Copy link
Copy Markdown

Adds support for ripgrep (rg) as an underlying search tool with new srg command.

Note

The feature was already requested in #41, this PR resolves that issue.

Changes

  • srg: New wrapper script that invokes sack -rg, following the same pattern as sag and sgrep.
  • sack: Added -rg option that sets rg as the default tool with --color=always --line-number --smart-case flags to make casing behavior similar to ag.
  • install_sack.sh: Updated to copy and mark srg as executable during installation.
  • README.md: Added srg/rg to the introduction and a new "What is rg?" section with a link to the ripgrep repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant