aptalca eca958d50e
Merge pull request #1073 from somewatson/code-server-bat
Create mod to include bat in code-server
2025-12-01 15:42:01 -05:00

Bat - Docker mod for code-server

This mod adds bat to code-server, to be installed/updated during container start.

Bat is a cat(1) clone with syntax highlighting and Git integration.

In code-server docker arguments, set an environment variable DOCKER_MODS=linuxserver/mods:code-server-bat

If adding multiple mods, enter them in an array separated by |, such as DOCKER_MODS=linuxserver/mods:code-server-bat|linuxserver/mods:openssh-server-mod2

Bat-extras and Ripgrep

This mod also includes bat-extras which has a dependency of ripgrep. Ripgrep has also been included because it is a requirment of bat-extras.

Aliases

This mod includes aliases for bat in bash and zsh. Under Ubuntu bat gets installed as batcat to avoid a name collision. So, for convenience, an alias to set bat="batcat" is included for both bash and zsh.

Description
No description provided
Readme GPL-3.0 6.5 MiB
Languages
Text 100%