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
|
fi
|
||||||
|
|
||||||
if (( $+commands[eza] )); then
|
if (( $+commands[eza] )); then
|
||||||
alias ls="eza --icons"
|
local eza_args="--time-style='+%Y-%m-%d %H:%M' --icons"
|
||||||
alias l="eza -lgh --icons"
|
alias ls="eza ${eza_args}"
|
||||||
|
alias l="eza -lgh ${eza_args}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( $+commands[cpg] )); then
|
if (( $+commands[cpg] )); then
|
||||||
|
@ -49,10 +50,8 @@ if (( $+commands[lazydocker] )); then
|
||||||
alias lad="lazydocker"
|
alias lad="lazydocker"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( $+commands[pacman] )); then
|
|
||||||
if (( $+commands[yay] )); then
|
if (( $+commands[yay] )); then
|
||||||
# this lists packages installed with pacman by size in mebibytes
|
# 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"
|
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
|
fi
|
||||||
|
|
||||||
|
|
Reference in a new issue