home/exa: cosmetic changes
This commit is contained in:
parent
0620f7abe1
commit
1272533e3a
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.progs.exa;
|
cfg = config.progs.exa;
|
||||||
|
zsh = config.shell.zsh;
|
||||||
|
|
||||||
exaPackage = pkgs.exa-minimal;
|
exaPackage = pkgs.exa-minimal;
|
||||||
defaultArgs = "--icons --classify";
|
defaultArgs = "--icons --classify";
|
||||||
|
@ -21,7 +22,7 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = [ exaPackage ];
|
home.packages = [ exaPackage ];
|
||||||
|
|
||||||
programs.zsh.shellAliases = mkIf config.shell.zsh.enable rec {
|
programs.zsh.shellAliases = mkIf zsh.enable rec {
|
||||||
ls = "${bin} --oneline";
|
ls = "${bin} --oneline";
|
||||||
la = "${ls} --all";
|
la = "${ls} --all";
|
||||||
lt = "${bin} --tree --level=3";
|
lt = "${bin} --tree --level=3";
|
||||||
|
|
Loading…
Reference in a new issue