mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
fix(eza): use built-in hm option
This commit is contained in:
parent
8d912f6bc0
commit
5ff6b584db
2 changed files with 24 additions and 32 deletions
|
|
@ -1,16 +1,8 @@
|
|||
{pkgs, ...}: let
|
||||
aliases = {
|
||||
eza = "eza --all --icons";
|
||||
ls = "eza";
|
||||
ll = "eza -l";
|
||||
la = "eza -a";
|
||||
lt = "eza --tree";
|
||||
lla = "eza -la";
|
||||
_: {
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
enableAliases = true;
|
||||
icons = true;
|
||||
extraOptions = ["--all"];
|
||||
};
|
||||
in {
|
||||
home.packages = [pkgs.eza];
|
||||
|
||||
programs.bash.shellAliases = aliases;
|
||||
programs.zsh.shellAliases = aliases;
|
||||
programs.fish.shellAliases = aliases;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue