mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +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
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue