mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
fix(lib): use -N syntax in head and tail to support Solaris (#6391)
Closes #6391 Co-authored-by: Sergey Mashkov <cy6erGn0m@gmail.com>
This commit is contained in:
parent
47c04d921e
commit
8b37f817c2
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
function zsh_stats() {
|
||||
fc -l 1 \
|
||||
| awk '{ CMD[$2]++; count++; } END { for (a in CMD) print CMD[a] " " CMD[a]*100/count "% " a }' \
|
||||
| grep -v "./" | sort -nr | head -n20 | column -c3 -s " " -t | nl
|
||||
| grep -v "./" | sort -nr | head -20 | column -c3 -s " " -t | nl
|
||||
}
|
||||
|
||||
function uninstall_oh_my_zsh() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue