From abbcb0445a5533a76fa3748415ca629dd8066704 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sat, 2 Dec 2023 18:08:22 +0100 Subject: [PATCH] lsd date fmt --- .zshrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index 24f3aa9..d64b73b 100644 --- a/.zshrc +++ b/.zshrc @@ -13,13 +13,14 @@ export CLIPBOARD_NOGUI=1 # wayland only allows GUI apps to use the clipboard. # # For wayland, set this to `1` # see https://github.com/Slackadays/Clipboard/issues/171 +export DATEFMT='+%a %Y-%m-%d %X' ### Aliases -alias l="lsd -lah" -alias ll="lsd -lh" -alias la="lsd -a" -alias ls="lsd" +alias l="lsd -lah --date \"$DATEFMT\"" +alias ll="lsd -lh --date \"$DATEFMT\"" +alias la="lsd -a --date \"$DATEFMT\"" +alias ls="lsd --date \"$DATEFMT\"" alias grep="grep --color" alias egrep="grep -E" alias lgrep="find | grep"