mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
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 ```
4 lines
104 B
Bash
4 lines
104 B
Bash
cpv() {
|
|
rsync -pogbr -hhh --backup-dir=/tmp/rsync -e /dev/null --progress "$@"
|
|
}
|
|
compdef _files cpv
|