1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02:00

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 Mikilio
parent 7fa412083b
commit a6db91d6cb
No known key found for this signature in database
GPG Key ID: 5B2F1A890CF33F3F

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 = ''