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=$( filesToFormat=$(
git --no-pager diff --name-status --no-color --cached | \ 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 for path in $filesToFormat

View File

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