Skip to content

Commit

Permalink
Update readme and prehook.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrpotter committed Jan 12, 2022
1 parent d23fcad commit 4c27331
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4c27331

Please sign in to comment.