Alias to filter mailq by date
This commit is contained in:
parent
f58f1f0592
commit
1feae14e8b
4
zshrc
4
zshrc
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue