1d17502aed5fc04cd1ca3eb35757b5ba2822414a

Author
meh <meh@paranoici.org>
Committer
meh <meh@paranoici.org>
Date

Message

rsync: add rsync- prefixes and use aliases

Diff

 1diff --git a/plugins/rsync/rsync.plugin.zsh b/plugins/rsync/rsync.plugin.zsh
 2index 5e28f346c8713c8d292dc2d85882596030395c1a..33a31a5c10eb81fc17b8d6688dea1185844b892a 100644
 3--- a/plugins/rsync/rsync.plugin.zsh
 4+++ b/plugins/rsync/rsync.plugin.zsh
 5@@ -1,15 +1,4 @@
 6-function copy {
 7-    rsync -av --progress -h "$1" "$2"
 8-}
 9-
10-function move {
11-    rsync -av --progress -h --remove-source-files "$1" "$2"
12-}
13-
14-function update {
15-    rsync -avu --progress -h "$1" "$2"
16-}
17-
18-function synchronize {
19-    rsync -avu --delete --progress -h "$1" "$2"
20-}
21+alias rsync-copy="rsync -av --progress -h"
22+alias rsync-move="rsync -av --progress -h --remove-source-files"
23+alias rsync-update="rsync -avu --progress -h"
24+alias rsync-synchronize="rsync -avu --delete --progress -h"