Configure lsd

See: https://github.com/lsd-rs/lsd
This commit is contained in:
Oliver Davies 2024-05-11 01:50:45 +02:00
parent 689c018bae
commit 475a2195c0
2 changed files with 12 additions and 3 deletions

View file

@ -1 +1,10 @@
{ programs.lsd.enable = true; } {
programs.lsd = {
enable = true;
enableAliases = false;
settings = {
icons.when = "never";
};
};
}

View file

@ -99,7 +99,7 @@
clear-ls-all() { clear-ls-all() {
clear clear
lsd -al ls -al
} }
zle -N clear-ls-all zle -N clear-ls-all
@ -178,7 +178,7 @@
ialias cs="create-script" ialias cs="create-script"
ialias daily="run create-daily next" ialias daily="run create-daily next"
ialias fetch="git fetch --all --jobs=4 --progress --prune" 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 pull="git pull --autostash --jobs=4 --summary origin"
ialias rebase="git rebase --autostash --stat" ialias rebase="git rebase --autostash --stat"
ialias reset="git reset --hard; git clean -fd" ialias reset="git reset --hard; git clean -fd"