Skip to content

Commit

Permalink
zoxide: remove obsolete workaround
Browse files Browse the repository at this point in the history
Since version 9.3, zoxide has updated its nusehll init script to work
with the latest version of nushell.
  • Loading branch information
gabevenberg authored Apr 4, 2024
1 parent 9de3aab commit 0c73c1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/programs/zoxide.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 0c73c1b

Please sign in to comment.