From fddd9f434bd46c0fc5dd0a3e17ac2f329b59fde9 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 11 Mar 2024 10:02:21 +0100 Subject: [PATCH] Adjust alias for ls My previous alias breaks `ls foo/*.bar | wc -l` because the output contains an additional line. --- home-manager/modules/common/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home-manager/modules/common/default.nix b/home-manager/modules/common/default.nix index 7b50f6e..3647a8a 100644 --- a/home-manager/modules/common/default.nix +++ b/home-manager/modules/common/default.nix @@ -19,7 +19,8 @@ find-garbage = "ls -l /nix/var/nix/gcroots/auto/ | sort | grep '/home/'"; vm = "vim"; less = "less -FiRX"; - ls = "ls -lhF --color=auto"; + ls = "ls --color=auto"; + ll = "ls -lhF"; btm = "btm --color default-light"; }; };