Add instructions for ~/.local/bin/bat symlink
commit54a85d98f18d53cdf826405e1a7468d89b678c2d
authorDavid Peter <sharkdp@users.noreply.github.com>
dateTue 12 May 2020, 17:41 (6 years ago)
parent491a5a1
README.md+5−2
@@ -182,8 +182,11 @@ If your Ubuntu/Debian installation is new enough you can simply run:
182182apt 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