ohmyzsh/plugins/cp/cp.plugin.zsh
Marc Cornellà 15900e7778 cp plugin: remove -- to separate files from options
This has some undesired effects, like having `cpv --help` be a file
not found error.

Use `--` yourself if you need it:

```zsh
cpv -- -some-file-with-hyphens.txt /tmp
```
2016-10-04 00:19:53 +02:00

4 lines
104 B
Bash

cpv() {
rsync -pogbr -hhh --backup-dir=/tmp/rsync -e /dev/null --progress "$@"
}
compdef _files cpv