all repos — nixfiles @ 37d93d79b6af0523cb1340733b16e6cf4bed5a6d

System and user configuration, managed by nix and home-manager

shell: enable colours in ls

Alan Pearce
commit

37d93d79b6af0523cb1340733b16e6cf4bed5a6d

parent

22912345d7501d85ff5d99a78eb39ff1c7a538d1

1 file changed, 5 insertions(+), 1 deletion(-)

changed files
M user/settings/shell.nixuser/settings/shell.nix
@@ -6,7 +6,11 @@ ...
}: let inherit (pkgs) stdenv; - lsOptions = if stdenv.isDarwin then "-p" else "-v --group-directories-first --hyperlink=auto"; + lsOptions = + if stdenv.isDarwin then + "--color=auto -p" + else + "--color=auto -v --group-directories-first --hyperlink=auto"; lsIsoDate = if stdenv.isDarwin then "" else "--time-style=long-iso"; in {