Skyler Grey | 2205a2d | 2022-06-04 11:27:55 +0100 | [diff] [blame] | 1 | { pkgs, ... }: { |
| 2 | home.packages = [ |
| 3 | pkgs.exa |
| 4 | ]; |
| 5 | |
Skyler Grey | 920050d | 2022-06-04 14:51:38 +0100 | [diff] [blame] | 6 | programs.zsh.initExtra = '' |
| 7 | function ls { |
Skyler Grey | f7a2ac4 | 2022-06-04 16:53:25 +0100 | [diff] [blame] | 8 | ${pkgs.exa}/bin/exa --icons -lghF --git --group-directories-first --color always "$@" | less --quit-if-one-screen |
Skyler Grey | 920050d | 2022-06-04 14:51:38 +0100 | [diff] [blame] | 9 | } |
| 10 | ''; |
Skyler Grey | f7a2ac4 | 2022-06-04 16:53:25 +0100 | [diff] [blame] | 11 | |
| 12 | home.shellAliases = { |
| 13 | ls = "ls"; # Unset the default ls alias |
| 14 | }; |
Skyler Grey | 2205a2d | 2022-06-04 11:27:55 +0100 | [diff] [blame] | 15 | } |