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
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.
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.