Sign inSign up

somewatson/mods

By somewatson

•Updated 10 months ago

Image
0

920

somewatson/mods repository overview

⁠Bat - Docker mod for code-server

This is a mod for linuxserver/mods⁠.

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=somewatson/mods:code-server-bat

If adding multiple mods, enter them in an array separated by |, such as DOCKER_MODS=somewatson/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.

Tag summary

Content type

Image

Digest

sha256:409737f35…

Size

1.7 kB

Last updated

10 months ago

docker pull somewatson/mods:code-server-rbenv-sw-0f3ff07217acd8052dfaeeeabf06ed0321bdd456