Add instructions for ~/.local/bin/bat symlink

This commit is contained in:
David Peter 2020-05-12 17:41:15 +02:00 committed by GitHub
parent 491a5a17f3
commit 54a85d98f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -182,8 +182,11 @@ If your Ubuntu/Debian installation is new enough you can simply run:
apt install bat
```
If you install `bat` this way, please note that the executable may be installed as `batcat`.
Adding a symlink from `/usr/bin/bat` to `/usr/bin/batcat` should help prevent any issues that may come up because of this.
If you install `bat` this way, please note that the executable may be installed as `batcat` instead of `bat` (due to [a name
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:
``` bash
ln -s /usr/bin/batcat ~/.local/bin/bat
```
### On Ubuntu