all repos — nixfiles @ 3502f4eba573f57b006046a7aba46516c26f8dbd

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

shell: fix incorrect logic for adding switch to `ls`

Alan Pearce
commit

3502f4eba573f57b006046a7aba46516c26f8dbd

parent

02c73ed9ab6335794eb32922b633b6a28347ae60

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M user/settings/shell.nix → user/settings/shell.nix
@@ -12,7 +12,7 @@ if stdenv.isDarwin && !ls-use-coreutils then
"-p" else "--color=auto -v --group-directories-first --hyperlink=auto"; - lsIsoDate = lib.optionalString (stdenv.isDarwin && !ls-use-coreutils) "--time-style=long-iso"; + lsIsoDate = lib.optionalString (!stdenv.isDarwin || ls-use-coreutils) "--time-style=long-iso"; in { home = {