devcontainers / features

A collection of Dev Container Features managed by Dev Container spec maintainers. See https://github.com/devcontainers/feature-starter to publish your own
https://containers.dev/features
MIT License
869 stars 346 forks source link

bash completion not working out of the box #1043

Closed dmytrokyrychuk closed 1 month ago

dmytrokyrychuk commented 1 month ago

Since the dev containers' main purpose is to provide an interactive development environment, I think that shell autocomplete should be enabled by default in dev containers. The bash-completion package should be included with common-utils feature.

The bash-completion package could be included conditionally, if INSTALL_ZSH is not set.

samruddhikhandale commented 1 month ago

Thanks for your request.

The bash-completion package provides programmable completion features for the Bash shell, which can significantly enhance your command-line experience by providing context-sensitive completions for commands, options, and arguments.

As it generally safe to install the bash-completion package on a Linux system, we can add it to the common-utils Feature. Before adding, we should validate that the disk space is minimal