update eza config
This commit is contained in:
@@ -1,14 +1,24 @@
|
|||||||
{ inputs, pkgs, lib, ... }:
|
{ self, inputs, ... }:
|
||||||
{
|
{
|
||||||
flake.modules.homeManager.eza = { pkgs, lib, ... }: {
|
flake.modules.homeManager.eza = { config, pkgs, lib, ... }: {
|
||||||
programs.eza = {
|
programs.eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.eza;
|
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
};
|
git = true;
|
||||||
home.shellAliases = {
|
icons = "auto";
|
||||||
ls = "${lib.getExe pkgs.eza} -algos type --follow-symlinks --all --all";
|
colors = "auto";
|
||||||
|
extraOptions = [
|
||||||
|
"--all"
|
||||||
|
"--long"
|
||||||
|
"--group-directories-first"
|
||||||
|
"--sort=type"
|
||||||
|
"--dereference"
|
||||||
|
"--octal-permissions"
|
||||||
|
"--smart-group"
|
||||||
|
"--no-time"
|
||||||
|
"--git"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user