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:
parent
491a5a17f3
commit
54a85d98f1
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user