Skip to content

Commit 8ebe0ae

Browse files
authored
Fix zsh completion URLs in the readme
1 parent 04ee8af commit 8ebe0ae

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,23 @@ To enable completion for notes, copy the completion script into your bash or zsh
3939

4040
Installing the completions might be as follows:
4141

42-
Bash
42+
**Bash**
43+
4344
```bash
4445
curl https://cdn.rawgit.com/pimterry/notes/v0.2.0/notes.bash_completion > /usr/share/bash-completion/completions/notes
4546
```
4647

47-
Zsh
48-
On *buntu based distros
48+
**Zsh**
49+
50+
On *buntu based distros and OSX:
4951
```bash
50-
curl https://cdn.rawgit.com/pimterry/notes/v0.2.0/notes._notes > /usr/local/share/site-functions/_notes
52+
curl -L https://rawgit.com/pimterry/notes/master/_notes > /usr/local/share/zsh/site-functions/_notes
5153
```
52-
On other Unix distros the command should as follows
54+
55+
On other Unix distros:
56+
5357
```bash
54-
curl https://cdn.rawgit.com/pimterry/notes/v0.2.0/notes._notes > /usr/share/zsh/site-functions/_notes
58+
curl -L https://rawgit.com/pimterry/notes/master/_notes > /usr/share/zsh/site-functions/_notes
5559
```
5660

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

0 commit comments

Comments
 (0)