From a1be4012e0e0179b093d40b1e45ca7d872ac9d92 Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Thu, 12 Sep 2024 22:37:47 +0530 Subject: [PATCH] fish: fix typo --- templates/fish.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/fish.txt b/templates/fish.txt index 8b349dc..76540ba 100644 --- a/templates/fish.txt +++ b/templates/fish.txt @@ -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.