add --time-style
to eza args
This commit is contained in:
parent
89352b6108
commit
021e859168
1 changed files with 3 additions and 4 deletions
|
@ -30,8 +30,9 @@ if (( $+commands[bat] )); then
|
|||
fi
|
||||
|
||||
if (( $+commands[eza] )); then
|
||||
alias ls="eza --icons"
|
||||
alias l="eza -lgh --icons"
|
||||
local eza_args="--time-style='+%Y-%m-%d %H:%M' --icons"
|
||||
alias ls="eza ${eza_args}"
|
||||
alias l="eza -lgh ${eza_args}"
|
||||
fi
|
||||
|
||||
if (( $+commands[cpg] )); then
|
||||
|
@ -49,10 +50,8 @@ if (( $+commands[lazydocker] )); then
|
|||
alias lad="lazydocker"
|
||||
fi
|
||||
|
||||
if (( $+commands[pacman] )); then
|
||||
if (( $+commands[yay] )); then
|
||||
# this lists packages installed with pacman by size in mebibytes
|
||||
alias pacsize="pacman -Qi | egrep '^(Name|Installed)' | cut -f2 -d':' | paste - - | column -t | sort -nrk 2 | grep MiB | cat --language=packages --style numbers,grid"
|
||||
alias pacsize="yay -Qi | egrep '^(Name|Version|Installed)' | cut -f2 -d':' | paste - - - | column -t | sort -nrk 3 | grep MiB | bat --language=packages --style numbers,grid"
|
||||
fi
|
||||
|
||||
|
|
Reference in a new issue