From 6f04cda193096413de56856fa450fd66aa10d65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Tue, 20 Sep 2016 21:42:06 +0200 Subject: [PATCH] cp plugin: show numbers in units of 1024 (K,M,G,T) Use `-h` level (3): output numbers in units of 1024. See the manpage of rsync for more information. --- plugins/cp/cp.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cp/cp.plugin.zsh b/plugins/cp/cp.plugin.zsh index 76b22cc56..226efc29e 100644 --- a/plugins/cp/cp.plugin.zsh +++ b/plugins/cp/cp.plugin.zsh @@ -12,6 +12,6 @@ # -- - everything after this is an argument, even if it looks like an option cpv() { - rsync -poghb --backup-dir=/tmp/rsync -e /dev/null --progress -- "$@" + rsync -pogb -hhh --backup-dir=/tmp/rsync -e /dev/null --progress -- "$@" } compdef _files cpv