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
./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:
-
Add
fish-debian.shto.devcontainer/library-scripts -
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!