Update the ls command to better handle color aliases
diff --git a/src/apps/personal/ls.nix b/src/apps/personal/ls.nix
index 4167b71..c011586 100644
--- a/src/apps/personal/ls.nix
+++ b/src/apps/personal/ls.nix
@@ -5,7 +5,11 @@
programs.zsh.initExtra = ''
function ls {
- ${pkgs.exa}/bin/exa --icons -lghF --git --group-directories-first "$@" --color=always | less --quit-if-one-screen
+ ${pkgs.exa}/bin/exa --icons -lghF --git --group-directories-first --color always "$@" | less --quit-if-one-screen
}
'';
+
+ home.shellAliases = {
+ ls = "ls"; # Unset the default ls alias
+ };
}