From ba2ef103fa16cf5ac381497130f6a3c787d56aff Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Wed, 5 Jul 2023 22:35:01 +0200 Subject: [PATCH] cli: Configure exa to replace ls --- home/cli.nix | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/home/cli.nix b/home/cli.nix index 0969589..f2f2d15 100644 --- a/home/cli.nix +++ b/home/cli.nix @@ -19,11 +19,7 @@ in { homeDirectory = "/home/${config.home.username}"; stateVersion = "21.05"; sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ]; - shellAliases = { - e = "emacsclient -c $@"; - ls = "exa $@"; - t = "exa -T $@"; - }; + shellAliases = { e = "emacsclient -c $@"; }; }; # do not show home-manager notifications @@ -59,8 +55,6 @@ in { htop-vim # htop with vim bindings erdtree # du+tree had sex dua # ncdu but better - bat # better cat - exa # better ls fzf gcc @@ -107,6 +101,9 @@ in { programs = { bash = { enable = true; }; + # better cat + bat.enable = true; + zsh = { enable = true; enableAutosuggestions = true; @@ -117,10 +114,14 @@ in { }; }; - starship = { enable = true; }; + # better ls with icons and stuff, maybe also try lsd + exa = { + enable = true; + icons = true; + enableAliases = true; + }; - # better cat - bat.enable = true; + starship = { enable = true; }; direnv = { enable = true;