lsd date fmt

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

11
.zshrc
View File

@ -13,19 +13,22 @@ export CLIPBOARD_NOGUI=1 # wayland only allows GUI apps to use the clipboard.
# #
# For wayland, set this to `1` # For wayland, set this to `1`
# see https://github.com/Slackadays/Clipboard/issues/171 # see https://github.com/Slackadays/Clipboard/issues/171
export DATEFMT='+%a %Y-%m-%d %X'
### Aliases ### Aliases
alias l="lsd -lah" alias l="lsd -lah --date \"$DATEFMT\""
alias ll="lsd -lh" alias ll="lsd -lh --date \"$DATEFMT\""
alias la="lsd -a" alias la="lsd -a --date \"$DATEFMT\""
alias ls="lsd" alias ls="lsd --date \"$DATEFMT\""
alias grep="grep --color" alias grep="grep --color"
alias egrep="grep -E" alias egrep="grep -E"
alias lgrep="find | grep" alias lgrep="find | grep"
alias psgrep="ps axu | grep" alias psgrep="ps axu | grep"
alias plasmarestart="killall plasmashell; kstart5 plasmashell" alias plasmarestart="killall plasmashell; kstart5 plasmashell"
alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"' 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 gg=lazygit
alias reload="source ~/.zshrc" alias reload="source ~/.zshrc"
alias gls=/bin/ls alias gls=/bin/ls