summaryrefslogtreecommitdiff
path: root/dot-oh-my-zsh/plugins/cp/cp.plugin.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'dot-oh-my-zsh/plugins/cp/cp.plugin.zsh')
-rw-r--r--dot-oh-my-zsh/plugins/cp/cp.plugin.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dot-oh-my-zsh/plugins/cp/cp.plugin.zsh b/dot-oh-my-zsh/plugins/cp/cp.plugin.zsh
new file mode 100644
index 00000000..a5625910
--- /dev/null
+++ b/dot-oh-my-zsh/plugins/cp/cp.plugin.zsh
@@ -0,0 +1,4 @@
+cpv() {
+ rsync -pogbr -hhh --backup-dir="/tmp/rsync-${USERNAME}" -e /dev/null --progress "$@"
+}
+compdef _files cpv