Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.19 KB

File metadata and controls

37 lines (23 loc) · 1.19 KB

fish Install Script

Note: This is a community contributed and maintained script.

Adds fish shell to a container.

Script status: Stable

OS support: Debian 9+, Ubuntu 16.04+.

Maintainer: @andreiborisov

Syntax

./fish-debian.sh [Install Fisher flag] [Non-root user]
Argument Default Description
Install Fisher flag true A true/false flag that indicates whether to install Fisher plugin manager.
Non-root user automatic Specifies a user in the container other than root that will use fish shell. A value of automatic will cause the script to check for a user called vscode, then node, codespace, and finally a user with a UID of 1000 before falling back to root.

Usage

Usage:

  1. Add fish-debian.sh to .devcontainer/library-scripts

  2. Add the following to your .devcontainer/Dockerfile:

    COPY library-scripts/fish-debian.sh /tmp/library-scripts/
    RUN apt-get update && bash /tmp/library-scripts/fish-debian.sh

That's it!