From 475a2195c0e3c9ab2e9eb99c9646709180cfc024 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 11 May 2024 01:50:45 +0200 Subject: [PATCH] Configure `lsd` See: https://github.com/lsd-rs/lsd --- lib/shared/modules/lsd.nix | 11 ++++++++++- lib/shared/modules/zsh.nix | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/lib/shared/modules/lsd.nix b/lib/shared/modules/lsd.nix index b630e54..51a3124 100644 --- a/lib/shared/modules/lsd.nix +++ b/lib/shared/modules/lsd.nix @@ -1 +1,10 @@ -{ programs.lsd.enable = true; } +{ + programs.lsd = { + enable = true; + enableAliases = false; + + settings = { + icons.when = "never"; + }; + }; +} diff --git a/lib/shared/modules/zsh.nix b/lib/shared/modules/zsh.nix index 1c56ba2..c104991 100644 --- a/lib/shared/modules/zsh.nix +++ b/lib/shared/modules/zsh.nix @@ -99,7 +99,7 @@ clear-ls-all() { clear - lsd -al + ls -al } zle -N clear-ls-all @@ -178,7 +178,7 @@ ialias cs="create-script" ialias daily="run create-daily next" ialias fetch="git fetch --all --jobs=4 --progress --prune" - ialias ls="lsd -la" + ialias ls="lsd" ialias pull="git pull --autostash --jobs=4 --summary origin" ialias rebase="git rebase --autostash --stat" ialias reset="git reset --hard; git clean -fd"