Closed mweichert closed 10 months ago
@mweichert Thanks! I added NB_SEARCH_TOOL
as the primary name for the variable for consistency with other variable names. I still have omitted it from the documentation. There are some features that are still only implemented in git grep
, such as —and
queries.
This pull request introduces a new environment variable, _NB_SEARCHUTILITY, into the notebook search functionality. The changes are compact yet impactful, involving just 4 lines of additions with no deletions.
Key Changes:
Purpose: The introduction of _NB_SEARCHUTILITY aims to enhance our notebook's search capabilities by allowing for dynamic utility configuration. This is particularly useful for environments where the search utility might differ or where a user prefers a custom search method.
Benefits:
--tool
or--utility
optionnb browse
. This was my primary motivation for this PR.Testing: The changes are minimal and straightforward, focusing solely on environment variable management. I've tested the following:
Looking forward to feedback and suggestions from the team!