fish: fix typo

This commit is contained in:
Ajeet D'Souza 2024-09-12 22:37:47 +05:30
parent dc0d039be2
commit a1be4012e0

View File

@ -19,7 +19,7 @@ end
# A copy of fish's internal cd function. This makes it possible to use
# `alias cd=z` without causing an infinite loop.
if ! builtin functions --query __zoxide_cd_internal
string replace --regex -- '^function cd' 'function __zoxide_z_internal' <$__fish_data_dir/functions/cd.fish | source
string replace --regex -- '^function cd\s' 'function __zoxide_cd_internal ' <$__fish_data_dir/functions/cd.fish | source
end
# cd + custom logic based on the value of _ZO_ECHO.