Alias to filter mailq by date

This commit is contained in:
Jeremy Gardais 2023-09-29 21:38:49 +02:00
parent f58f1f0592
commit 1feae14e8b
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 4 additions and 0 deletions

4
zshrc
View File

@ -132,6 +132,7 @@ alias mane="LANG=C man "
# Afficher les lignes trop longues sur la ligne suivante plutot que de remplacer par un "$":
alias most='most -w'
## System
# APT|Aptitude|… commands {{{
if [ -d /etc/apt ]; then
alias acle='sudo aptitude clean'
@ -187,6 +188,9 @@ if command -v yay > /dev/null; then
fi
# }}}
# Filter pending mail by date
alias maildate='sudo mailq |grep "^[A-F0-9]" |sort -k5n -k6n'
# Grep aliases {{{
alias grep='grep --color=always --ignore-case '
alias gerp='grep --ignore-case'