From 54a85d98f18d53cdf826405e1a7468d89b678c2d Mon Sep 17 00:00:00 2001 From: David Peter Date: Tue, 12 May 2020 17:41:15 +0200 Subject: [PATCH] Add instructions for ~/.local/bin/bat symlink --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 37a8bfb6..74457eca 100644 --- a/README.md +++ b/README.md @@ -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