1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-18 20:11:03 +00:00

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

View File

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