Skip to content

Commit 54a85d9

Browse files
authoredMay 12, 2020
Add instructions for ~/.local/bin/bat symlink
1 parent 491a5a1 commit 54a85d9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,11 @@ If your Ubuntu/Debian installation is new enough you can simply run:
182182
apt install bat
183183
```
184184

185-
If you install `bat` this way, please note that the executable may be installed as `batcat`.
186-
Adding a symlink from `/usr/bin/bat` to `/usr/bin/batcat` should help prevent any issues that may come up because of this.
185+
If you install `bat` this way, please note that the executable may be installed as `batcat` instead of `bat` (due to [a name
186+
clash with another package](https://github.com/sharkdp/bat/issues/982)). You can set up a `bat -> batcat` symlink or alias to prevent any issues that may come up because of this and to be consistent with other distrutions:
187+
``` bash
188+
ln -s /usr/bin/batcat ~/.local/bin/bat
189+
```
187190

188191
### On Ubuntu
189192

0 commit comments

Comments
 (0)
Please sign in to comment.