Fixed zoxide not working

This commit is contained in:
2024-09-04 08:06:33 +02:00
parent fb35600660
commit e5a0a82307
3 changed files with 11 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
./fish.nix ./fish.nix
./git.nix ./git.nix
./kitty.nix ./kitty.nix
./zoxide.nix
]; ];
home.username = "r3ddy"; home.username = "r3ddy";

View File

@@ -4,7 +4,6 @@
enable = true; enable = true;
interactiveShellInit = '' interactiveShellInit = ''
set fish_greeting # Disable greeting set fish_greeting # Disable greeting
alias cd z # Zoxide instead of cd
''; '';
}; };
} }

10
home/zoxide.nix Normal file
View File

@@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
programs.zoxide = {
enable = true;
enableFishIntegration= true;
options = [
"--cmd cd"
];
};
}