mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 07:04:17 +00:00
zoxide: fix nushell 0.89 deprecation
Since nushell 0.89, automatically spreading lists is deprecated. This commit introduces a string replace for the zoxide init script to replace the deprecated code. See: https://github.com/ajeetdsouza/zoxide/issues/662 Fixes: #4916
This commit is contained in:
parent
3d0dc78e80
commit
3df2a80f3f
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ in {
|
|||
}
|
||||
${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 = ''
|
||||
|
|
Loading…
Reference in a new issue