zoxide: remove obsolete workaround

Since version 9.3, zoxide has updated its nusehll init script to work
with the latest version of nushell.
This commit is contained in:
Gabriel Venberg 2024-04-04 16:29:27 -05:00 committed by GitHub
parent 9de3aab091
commit 0c73c1b8da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,8 +87,6 @@ in {
mkdir $zoxide_cache
}
${cfg.package}/bin/zoxide init nushell ${cfgOptions} |
str replace "def-env" "def --env" --all | # https://github.com/ajeetdsouza/zoxide/pull/632
str replace --all "-- $rest" "-- ...$rest" |
save --force ${config.xdg.cacheHome}/zoxide/init.nu
'';
extraConfig = ''