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