ripgrep
ripgrep copied to clipboard
complete/fish: Take RIPGREP_CONFIG_PATH into account
The fish completions now also pay attention to the configuration file to determine whether to suggest negation options and not just to the current command line.
This doesn't cover all edge cases. For example the config file is cached, and so changes may not take effect until the next shell session. But the cases it doesn't cover are hopefully very rare.
See the post hoc discussion on https://github.com/BurntSushi/ripgrep/pull/2684.
cc @cstyles