Skip to content

Commit c38d00b

Browse files
committed
README: Add AUR to binary install instructions
1 parent 71e7e84 commit c38d00b

File tree

1 file changed

+29
-7
lines changed

1 file changed

+29
-7
lines changed

README.md

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,23 +79,45 @@ Refresh your tmux server if it's already running.
7979

8080
### Binary installation
8181

82-
Alternatively, instead of installing tmux-fastcopy as a tmux plugin, you can
83-
install it as an independent binary.
82+
Instead of installing tmux-fastcopy as a tmux plugin,
83+
you can install it as an independent binary.
8484

85-
1. Download a pre-built binary from the [releases page][] and place it on your
86-
`$PATH`, or if you're using Homebrew/Linuxbrew, run:
85+
Use one of the following to install the binary.
86+
87+
- If you're using **Homebrew**/Linuxbrew, run:
8788

8889
```bash
8990
brew install abhinav/tap/tmux-fastcopy
9091
```
9192

92-
2. Add the following to your `.tmux.conf`.
93+
- If you're using **ArchLinux**, install it from [AUR](https://aur.archlinux.org/packages/tmux-fastcopy/).
9394
95+
```bash
96+
git clone https://aur.archlinux.org/tmux-fastcopy.git
97+
cd tmux-fastcopy
98+
makepkg -si
9499
```
95-
bind-key f run-shell -b tmux-fastcopy
100+
101+
Alternatively, with an AUR helper like [yay](https://github.com/Jguer/yay), run:
102+
103+
```bash
104+
yay -S tmux-fastcopy
96105
```
97106
98-
[releases page]: https://github.com/abhinav/tmux-fastcopy/releases
107+
- Download a **pre-built binary** from the [releases page](https://github.com/abhinav/tmux-fastcopy/releases)
108+
and place it on your `$PATH`.
109+
110+
- Build it from source with Go.
111+
112+
```bash
113+
go install github.com/abhinav/tmux-fastcopy@latest
114+
```
115+
116+
Once you have the binary installed, add the following to your `.tmux.conf`.
117+
118+
```
119+
bind-key f run-shell -b tmux-fastcopy
120+
```
99121
100122
## Usage
101123

0 commit comments

Comments
 (0)