lsd: use -A instead of -a in aliases (#4173)
The current `lla` alias, together with the `total-size` option try to get the size of the `..` directory, and for this has to recursively open all sibling folders. This may be super slow if some of those siblings contain too many files, and raise a ton of useless errors if some of those siblings contains non-readable files. I'm suggesting to use `-A` instead, which will skip the obvious `.` and `..` folders. While here, I think we could also add `llt`.
This commit is contained in:
parent
a7002d6bfc
commit
17ce23ea56
|
@ -11,9 +11,10 @@ let
|
|||
aliases = {
|
||||
ls = "${pkgs.lsd}/bin/lsd";
|
||||
ll = "${pkgs.lsd}/bin/lsd -l";
|
||||
la = "${pkgs.lsd}/bin/lsd -a";
|
||||
la = "${pkgs.lsd}/bin/lsd -A";
|
||||
lt = "${pkgs.lsd}/bin/lsd --tree";
|
||||
lla = "${pkgs.lsd}/bin/lsd -la";
|
||||
lla = "${pkgs.lsd}/bin/lsd -lA";
|
||||
llt = "${pkgs.lsd}/bin/lsd -l --tree";
|
||||
};
|
||||
|
||||
in {
|
||||
|
|
Loading…
Reference in a new issue