users/dev_tools: update exa aliases
This commit is contained in:
parent
956b20b61f
commit
e04d5d08fc
1 changed files with 10 additions and 9 deletions
|
@ -2,21 +2,22 @@
|
|||
|
||||
let
|
||||
exaPackage = pkgs.exa.override { gitSupport = false; };
|
||||
defaultArgs = "--icons --classify";
|
||||
bin = "${exaPackage}/bin/exa ${defaultArgs}";
|
||||
in
|
||||
{
|
||||
programs.exa = {
|
||||
enable = true;
|
||||
package = exaPackage;
|
||||
};
|
||||
programs.zsh.shellAliases = lib.mkIf config.programs.zsh.enable rec {
|
||||
ls = "${bin} --oneline";
|
||||
la = "${ls} --all";
|
||||
lt = "${bin} --tree --level=3";
|
||||
ll = "${bin} --long --header";
|
||||
lla = "${ll} --all";
|
||||
};
|
||||
programs.zsh.shellAliases =
|
||||
let
|
||||
defaultArgs = "--icons --classify --group-directories-first --all";
|
||||
bin = "${exaPackage}/bin/exa ${defaultArgs}";
|
||||
in
|
||||
lib.mkIf config.programs.zsh.enable {
|
||||
ls = "${bin} --oneline";
|
||||
lt = "${bin} --tree --level=3";
|
||||
ll = "${bin} --long --header";
|
||||
};
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue