Skip to content

Commit

Permalink
Merge pull request #231 from abelcha/patch-1
Browse files Browse the repository at this point in the history
Add doc on config.jsonc location
  • Loading branch information
phiresky authored Jun 17, 2024
2 parents 4a73df3 + e3af21e commit 7130a1b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ The following adapters are disabled by default, and can be enabled using '--rga-

> rga \[RGA OPTIONS\] \[RG OPTIONS\] PATTERN \[PATH \...\]

## FLAGS:

**\--rga-accurate**
Expand Down Expand Up @@ -262,6 +263,15 @@ All other options not shown here are passed directly to rg, especially

<!-- end of part generated by update-readme.sh -->

## Config
The config file location leverage the mechanisms defined by
- the [XDG base directory](https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html) and
the [XDG user directory](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/) specifications on Linux (ex: `~/.config/ripgrep-all/config.jsonc`)
- the [Known Folder](https://msdn.microsoft.com/en-us/library/windows/desktop/dd378457.aspx) API on Windows (ex: `C:\Users\Alice\AppData\Roaming\ripgrep-all/config.jsonc`)
- the [Standard Directories](https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW6)
guidelines on macOS (ex: `~/Library/Application Support/ripgrep-all/config.jsonc`)


## Development

To enable debug logging:
Expand Down

0 comments on commit 7130a1b

Please sign in to comment.