Move Zoxide configuration out of shell config

This commit is contained in:
2025-01-31 15:01:00 -08:00
parent 377dd5dcea
commit c60d96883f
3 changed files with 7 additions and 10 deletions

View File

@@ -41,4 +41,9 @@
]; ];
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
programs.zoxide = {
enable = true;
options = ["--cmd j"];
};
} }

View File

@@ -1,11 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let tide_conf = builtins.readFile ./tide_config.fish; in let tide_conf = builtins.readFile ./tide_config.fish; in
{ {
programs.zoxide = { programs.zoxide.enableFishIntegration = true;
enable = true;
enableFishIntegration = true;
options = ["--cmd j"];
};
programs.fzf = { programs.fzf = {
enable = true; enable = true;

View File

@@ -1,10 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
programs.zoxide = { programs.zoxide.enableNushellIntegration = true;
enable = true;
enableNushellIntegration = true;
};
programs.direnv.enableNushellIntegration = true; programs.direnv.enableNushellIntegration = true;
programs.nushell = { programs.nushell = {