From cbaeeb2f131d9734ec6d8f745a2cca40d5dcec72 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Sat, 15 May 2021 22:00:13 +0300 Subject: [PATCH] fixup! [zsh] add a couple of aliases to numfmt --- zsh/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/functions.zsh b/zsh/functions.zsh index a9d956d..c5b7eaa 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -2,7 +2,7 @@ count() { print -r -- "$#"; } -bytecount() { wc -c "$@" | numfmt --to=iec-i; } +bytecount() { wc -c "$@" | bytefmt2; } mkcd() { mkdir -p "$@" && cd "${@[-1]}"; }