Browse Source

Revert "[Fix #436] Remove Bombich rsync references"

This reverts commit 20655c8b66.
master
Sorin Ionescu 12 years ago
parent
commit
9b945e26b9
  1. 8
      modules/rsync/README.md
  2. 1
      modules/rsync/init.zsh

8
modules/rsync/README.md

@ -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

1
modules/rsync/init.zsh

@ -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…
Cancel
Save