Update readme and prehook.

pull/3/head v0.1.0-alpha
Joshua Potter 2022-01-12 06:02:49 -05:00
parent d23fcadcc1
commit 4c27331ac0
2 changed files with 6 additions and 7 deletions

View File

@ -3,7 +3,7 @@ set -e
filesToFormat=$(
git --no-pager diff --name-status --no-color --cached | \
awk '$1 != "D" && $2 ~ /\.rs/ {print $2}'
awk '$1 != "D" && $2 ~ /\.rs/ {print $NF}'
)
for path in $filesToFormat

View File

@ -4,12 +4,11 @@
## Introduction
Homesync provides a way of automatically syncing config files across various
applications you may use. It works by establishing a file watcher on all the
configs specified in the primary `homesync` config. As files are changed, they
are copied to a local git repository to eventually be pushed by the user.
Likewise, at any point, the user can sync against the remote repository,
overwriting local configurations for one or more packages.
Homesync provides a way of automatically syncing files across your desktop to a
<code>git</code> repository. By registering files with homesync, upstream and
downstream syncing can be done as requested, without any manual need to twiddle
files and copy them into a local git repository. Separately, a daemon service
exists that watches for changes as they happen.
## Installation