This commit is contained in:
2026-07-14 23:47:12 +00:00
parent 8f2e965245
commit e1ba2af070
2 changed files with 25 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
{ lib
, config
, pkgs
, ...
}:
{
options.custom = {
zoxide.enable = lib.mkEnableOption "enable zoxide - a modern replacement for cd";
};
config = lib.mkIf config.custom.zoxide.enable {
programs.zoxide = {
enable = true;
enableZshIntegration = true;
options = [
"--cmd"
"cd"
];
};
};
}