shell: enable colours in ls
1 file changed, 5 insertions(+), 1 deletion(-)
changed files
M user/settings/shell.nix → user/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 {