mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-07 06:08:39 +02:00
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.
This commit is contained in:
parent
d95d7a73e0
commit
6f04cda193
1 changed files with 1 additions and 1 deletions
|
|
@ -12,6 +12,6 @@
|
||||||
# -- - everything after this is an argument, even if it looks like an option
|
# -- - everything after this is an argument, even if it looks like an option
|
||||||
|
|
||||||
cpv() {
|
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
|
compdef _files cpv
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue