sharkdp/bat

Symlink instruction doesn't work?

Closed this issue · 1 comments

What steps will reproduce the bug?

  1. Install Zsh, Oh-My-Zsh, and Powerlevel10k on Ubuntu Server 24.04.
  2. Install Bat with sudo apt install bat, per README.
  3. Link Bat with ln -s /usr/bin/batcat ~/.local/bin/bat, per README.
  4. Attempt to run bat.

What happens?

The command fails:

Image

What did you expect to happen instead?

The command should work fine.

How did you install bat?

apt-get, per README.


bat version and environment

bat has been built without the 'bugreport' feature. The '--diagnostic' option is not available.

Never mind. I needed to uncomment the PATH line in my newly-made .zshrc file:

export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH

I'm sorry for opening a non-bug bug report.