lsd date fmt

This commit is contained in:
Christoph J. Scherr 2023-12-02 18:08:22 +01:00
parent 2a7cf939a1
commit abbcb0445a
1 changed files with 5 additions and 4 deletions

9
.zshrc
View File

@ -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"