Skip to content

Commit e455a1d

Browse files
committed
bumped version and cleaned up Readme
1 parent 41b8b12 commit e455a1d

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "diff-so-fancy",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "good-lookin' output of diff-highlight to upgrade your diffs' appearances",
55
"bin": {
66
"diff-so-fancy": "diff-so-fancy",

readme.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# diff-so-fancy
22

3-
diff-so-fancy builds on the good-lookin' output of diff-highlight to upgrade your diffs' appearances
4-
* Output will not be in standard patch format, but will be readable
3+
diff-so-fancy builds on the good-lookin' output of diff-highlight to upgrade
4+
your diffs' appearances.
5+
6+
* Output will not be in standard patch format, but will be readable.
57
* No pesky `+` or `-` at line-stars, making for easier copy-paste.
68

79
## Screenshot
810

9-
*`git diff` vs `git diff | diff-so-fancy`*
11+
*`git diff` vs `git diff --color | diff-highlight | diff-so-fancy`*
1012

1113
![diff-highlight vs diff-so-fancy](https://cloud.githubusercontent.com/assets/39191/10000682/8e849130-6052-11e5-9bd9-bd4505cd24d6.png)
1214

@@ -28,7 +30,7 @@ npm install -g diff-so-fancy
2830
```
2931
This will install and link the `diff-so-fancy` and `diff-highlight` scripts.
3032

31-
### GNU sed.
33+
### GNU sed.
3234
On Mac, install it with Homebrew.
3335
```shell
3436
brew install gnu-sed --with-default-names # You'll have to change below to `gsed` otherwise
@@ -43,8 +45,9 @@ git config --global color.diff-highlight.newHighlight "green bold 22"
4345
```
4446
You may also want to configure [general diff colors](https://github.com/paulirish/dotfiles/blob/63cb8193b0e66cf80ab6332477f1f52c7fbb9311/.gitconfig#L23-L36).
4547

46-
### `diff-highlight`
47-
It's installed via the `diff-so-fancy` npm package. But it's also shipped with Git so, if you prefer, you can add it to your `$PATH` manually:
48+
### `diff-highlight`
49+
It's installed via the `diff-so-fancy` npm package. But it's also shipped with
50+
Git so, if you prefer, you can add it to your `$PATH` manually:
4851
```shell
4952
ln -sf "$(brew --prefix)/share/git-core/contrib/diff-highlight/diff-highlight" ~/bin/diff-highlight
5053
# confirm that ~/bin is in your PATH

0 commit comments

Comments
 (0)