Skip to content

Commit 267c1c1

Browse files
committed
Added AUR installation method and added shell to the commands
1 parent c5a1b0d commit 267c1c1

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,23 @@ A command line client for tldr, written in plain ISO C90.
99

1010
On OS X, the client can be installed through [homebrew](http://brew.sh/).
1111

12-
```
12+
```shell
1313
# To install latest development version
1414
brew install tldr --HEAD
1515

1616
# To install the latest stable release
1717
brew install tldr
1818
```
1919

20-
To build the latest version from source:
20+
On Arch Linux, the client can be installed through [the AUR](https://aur.archlinux.org/packages/tldr-git) using an AUR helper such as yay.
21+
22+
```shell
23+
yay -S tldr-git
2124
```
25+
26+
To build the latest version from source:
27+
28+
```shell
2229
git clone https://github.com/tldr-pages/tldr-c-client.git
2330
cd tldr-c-client
2431

@@ -68,7 +75,7 @@ to access directory (like your home directory), and source it in your `.bashrc`
6875

6976
Example for zsh:
7077

71-
```
78+
```shell
7279
mv autocomplete/complete.zsh ~/.tldr.complete
7380
echo "source ~/.tldr.complete" >> ~/.zshrc
7481
```

0 commit comments

Comments
 (0)