Skip to content

Commit 82db972

Browse files
authored
Remove rawgit from instructions
Rawgit has been deprecated for a while now, and it's not necessary. Fixes #75.
1 parent e3a9eab commit 82db972

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This is just one tool in the chain. `notes` is a command line tool, and some peo
2424
### Automatic:
2525

2626
```bash
27-
curl -L https://rawgit.com/pimterry/notes/latest-release/install.sh | bash
27+
curl -L https://raw.githubusercontent.com/pimterry/notes/latest-release/install.sh | bash
2828
```
2929
This will install `notes`, a default configuration, a man page, and bash completion if possible.
3030

@@ -49,28 +49,28 @@ Installing the completions might be as follows:
4949
**Bash**
5050

5151
```bash
52-
curl https://cdn.rawgit.com/pimterry/notes/latest-release/notes.bash_completion > /usr/share/bash-completion/completions/notes
52+
curl https://raw.githubusercontent.com/pimterry/notes/latest-release/notes.bash_completion > /usr/share/bash-completion/completions/notes
5353
```
5454

5555
**Zsh**
5656

5757
On *buntu based distros and OSX:
5858
```bash
59-
curl -L https://rawgit.com/pimterry/notes/latest-release/_notes > /usr/local/share/zsh/site-functions/_notes
59+
curl -L https://raw.githubusercontent.com/pimterry/notes/latest-release/_notes > /usr/local/share/zsh/site-functions/_notes
6060
```
6161

6262
On other Unix distros:
6363

6464
```bash
65-
curl -L https://rawgit.com/pimterry/notes/latest-release/_notes > /usr/share/zsh/site-functions/_notes
65+
curl -L https://raw.githubusercontent.com/pimterry/notes/latest-release/_notes > /usr/share/zsh/site-functions/_notes
6666
```
6767

6868
You'll need to open a new shell for this to take effect.
6969

7070
## What if I want to uninstall this?
7171
If you used the automated install script to install notes, you can uninstall it the same way, by running:
7272
```bash
73-
curl -L https://rawgit.com/pimterry/notes/latest-release/install.sh | bash -s -- uninstall
73+
curl -L https://raw.githubusercontent.com/pimterry/notes/latest-release/install.sh | bash -s -- uninstall
7474
```
7575

7676
## How do I configure this?
@@ -184,4 +184,4 @@ To build a new release of `notes`:
184184
git checkout -B latest-release
185185
git push --force origin latest-release
186186
git checkout -
187-
```
187+
```

0 commit comments

Comments
 (0)