[Search directory] Hide ./ prefix when fd version >= 8.3.0 (#211 - @kidonng )
fd >= 8.3.0 prefixes ./
to all paths when the output is being piped rather than sent to TTY. This is ugly and we don't need this so we disable this new behavior by passing a new flag --strip-cwd-prefix
if the version is >= 8.3.0. Eventually, we will require fd 8.3.0 as a minimum version and always pass that flag.
[Search variables] Remove excessive escape for replacement group (#209 - @rmgk )
This fixes a dormant bug that will eventually rear its ugly head in a future Fish release. It was not manifested because string replace currently has some idiosyncratic behavior that does extra escaping. However, that behavior will be removed when the regex-easyesc
feature flag (see https://fishshell.com/docs/current/language.html#future-feature-flags) is turned on by default, which will inevitably happen.