diff --git a/plugins/cp/README.md b/plugins/cp/README.md index d2cc64ff7..e8a9b6ccc 100644 --- a/plugins/cp/README.md +++ b/plugins/cp/README.md @@ -30,5 +30,3 @@ The enabled options for rsync are: * `-e /dev/null`: only work on local files (disable remote shells). * `--progress`: display progress. - -* `--`: everything after this is an argument, even if it starts with a hyphen. diff --git a/plugins/cp/cp.plugin.zsh b/plugins/cp/cp.plugin.zsh index 607a24b40..fe6ea87a8 100644 --- a/plugins/cp/cp.plugin.zsh +++ b/plugins/cp/cp.plugin.zsh @@ -1,4 +1,4 @@ cpv() { - rsync -pogbr -hhh --backup-dir=/tmp/rsync -e /dev/null --progress -- "$@" + rsync -pogbr -hhh --backup-dir=/tmp/rsync -e /dev/null --progress "$@" } compdef _files cpv