home/exa: cosmetic changes

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-05 09:57:31 +03:00
parent 0620f7abe1
commit 1272533e3a
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -4,6 +4,7 @@ with lib;
let
cfg = config.progs.exa;
zsh = config.shell.zsh;
exaPackage = pkgs.exa-minimal;
defaultArgs = "--icons --classify";
@ -21,7 +22,7 @@ in
config = mkIf cfg.enable {
home.packages = [ exaPackage ];
programs.zsh.shellAliases = mkIf config.shell.zsh.enable rec {
programs.zsh.shellAliases = mkIf zsh.enable rec {
ls = "${bin} --oneline";
la = "${ls} --all";
lt = "${bin} --tree --level=3";