features/src/common-utils
github-actions[bot] 1313517fc4
Automated documentation update (#250)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-10-31 15:10:22 -07:00
..
devcontainer-feature.json Ensure remove apt-update cache at the beginning and end of the scripts (#210) 2022-10-10 15:33:01 -07:00
install.sh Ensure remove apt-update cache at the beginning and end of the scripts (#210) 2022-10-10 15:33:01 -07:00
NOTES.md Add notes for Features that have them (#88) 2022-08-11 15:11:00 -05:00
README.md Automated documentation update (#250) 2022-10-31 15:10:22 -07:00

Common Debian Utilities (common-utils)

Installs a set of common command line utilities, Oh My Zsh!, and sets up a non-root user.

Example Usage

"features": {
    "ghcr.io/devcontainers/features/common-utils:1": {
        "version": "latest"
    }
}

Options

Options Id Description Type Default Value
installZsh Install ZSH? boolean true
installOhMyZsh Install Oh My Zsh!? boolean true
upgradePackages Upgrade OS packages? boolean true
username Enter name of non-root user to configure or none to skip string automatic
uid Enter uid for non-root user string automatic
gid Enter gid for non-root user string automatic
nonFreePackages Add packages from non-free Debian repository? boolean false

Speeding up the command prompt in large repositories

This script provides a custom command prompt that includes information about the git repository for the current folder. However, with certain large repositories, this can result in a slow command prompt since the required git status command can be slow. To resolve this, you can update a git setting to remove the git portion of the command prompt.

To disable the prompt for the current folder's repository, enter the following in a terminal or add it to your postCreateCommand or dotfiles:

git config codespaces-theme.hide-status 1

This setting will survive a rebuild since it is applied to the repository rather than the container.


Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md.