zsh:alias: Add count for sorted uniq -c

This commit is contained in:
2023-06-21 13:32:54 +02:00
parent d5436fe0f9
commit ce987f1f94

View File

@@ -163,6 +163,8 @@ fi
alias zmv='noglob zmv'
# List human readable sizes in order
alias sizes='du -sch * | sort -h'
# Count number of occurrences for every line in stdin
alias count='sort | uniq -c | sort -n'
# External command depending aliases
(( ! $+commands[zathura] )) ||