From 5864f43ea28ac9b04c6ecc4116bb803c4bc4c987 Mon Sep 17 00:00:00 2001 From: mo8it Date: Mon, 28 Aug 2023 21:37:15 +0200 Subject: [PATCH] Replace exa with lsd --- .config/fish/config.fish | 2 +- .config/lsd/config.yaml | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .config/lsd/config.yaml diff --git a/.config/fish/config.fish b/.config/fish/config.fish index ed2cd5d..2475f99 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -34,7 +34,7 @@ if status is-interactive # Aliases alias cd "z" - alias ls "exa --icons --group-directories-first --time-style long-iso --no-filesize --git" + alias ls "lsd" alias ll "ls -l" alias cat "bat" alias gu "gitui" diff --git a/.config/lsd/config.yaml b/.config/lsd/config.yaml new file mode 100644 index 0000000..69ebafd --- /dev/null +++ b/.config/lsd/config.yaml @@ -0,0 +1,22 @@ +# This specifies the columns and their order when using the long and the tree +# layout. +# Possible values: permission, user, group, context, size, date, name, inode, links, git +blocks: + - permission + - user + - group + - size + - date + - git + - name + +# This specifies the date format for the date column. The freeform format +# accepts a strftime like string. +# Possible values: date, relative, '+' +# `date_format` will be a `strftime` formatted value. e.g. `date: '+%d %b %y %X'` will give you a date like this: 17 Jun 21 20:14:55 +date: +%d-%m-%y %H:%M:%S + +sorting: + # Whether to group directories together and where. + # Possible values: first, last, none + dir-grouping: first