Revert "[Fix #436] Remove Bombich rsync references"
This reverts commit 20655c8b66
.
This commit is contained in:
parent
20655c8b66
commit
9b945e26b9
|
@ -3,6 +3,9 @@ Rsync
|
||||||
|
|
||||||
Defines [rsync][1] aliases.
|
Defines [rsync][1] aliases.
|
||||||
|
|
||||||
|
Mac OS X users are encouraged to use [Bombich's rsync][2], which has HFS+
|
||||||
|
enhancements.
|
||||||
|
|
||||||
Aliases
|
Aliases
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
@ -15,10 +18,11 @@ Aliases
|
||||||
Authors
|
Authors
|
||||||
-------
|
-------
|
||||||
|
|
||||||
*The authors of this module should be contacted via the [issue tracker][2].*
|
*The authors of this module should be contacted via the [issue tracker][3].*
|
||||||
|
|
||||||
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||||
|
|
||||||
[1]: http://rsync.samba.org
|
[1]: http://rsync.samba.org
|
||||||
[2]: https://github.com/sorin-ionescu/prezto/issues
|
[2]: http://www.bombich.com/rsync.html
|
||||||
|
[3]: https://github.com/sorin-ionescu/prezto/issues
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ fi
|
||||||
_rsync_cmd='rsync --verbose --progress --human-readable --compress --archive --hard-links --one-file-system'
|
_rsync_cmd='rsync --verbose --progress --human-readable --compress --archive --hard-links --one-file-system'
|
||||||
|
|
||||||
# Mac OS X and HFS+ Enhancements
|
# Mac OS X and HFS+ Enhancements
|
||||||
|
# http://www.bombich.com/rsync.html
|
||||||
if [[ "$OSTYPE" == darwin* ]] && grep -q 'file-flags' <(rsync --help 2>&1); then
|
if [[ "$OSTYPE" == darwin* ]] && grep -q 'file-flags' <(rsync --help 2>&1); then
|
||||||
_rsync_cmd="${_rsync_cmd} --crtimes --acls --xattrs --fileflags --protect-decmpfs --force-change"
|
_rsync_cmd="${_rsync_cmd} --crtimes --acls --xattrs --fileflags --protect-decmpfs --force-change"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue