mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Move zoxide into the shell-alias module
This commit is contained in:
parent
f649437b2f
commit
c245e9422a
2 changed files with 50 additions and 48 deletions
|
|
@ -8,12 +8,18 @@
|
|||
options.custom.programs.shell.aliases.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.programs.shell.aliases.enable {
|
||||
home.packages = [
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
options = [ "--cmd cd" ];
|
||||
};
|
||||
|
||||
home = {
|
||||
packages = [
|
||||
pkgs.eza
|
||||
pkgs.bat
|
||||
];
|
||||
|
||||
home.shellAliases =
|
||||
shellAliases =
|
||||
let
|
||||
lsAliases =
|
||||
let
|
||||
|
|
@ -55,4 +61,5 @@
|
|||
"bat --plain --theme=${theme}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,11 +44,6 @@
|
|||
|
||||
fzf.enable = true;
|
||||
|
||||
zoxide = {
|
||||
enable = true;
|
||||
options = [ "--cmd cd" ];
|
||||
};
|
||||
|
||||
direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue