mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-11-26 22:46:28 +00:00
fish: fix typo
This commit is contained in:
parent
dc0d039be2
commit
a1be4012e0
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user