From 800410c1c954ff0a058ab540d062eb17943b7478 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sat, 2 Dec 2023 18:08:22 +0100 Subject: [PATCH] lsd date fmt --- .zshrc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index 24f3aa9..5fea084 100644 --- a/.zshrc +++ b/.zshrc @@ -13,19 +13,22 @@ 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" alias psgrep="ps axu | grep" alias plasmarestart="killall plasmashell; kstart5 plasmashell" alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"' +alias isodate='date +"%Y-%m-%dT%H:%M:%S%z"' +alias date='date $DATEFMT' alias gg=lazygit alias reload="source ~/.zshrc" alias gls=/bin/ls