Enable shell completion automatically
Overview
In https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/shell_completion.md we describe how to enable useful shell completion for bash and zsh.
Proposed solution
Allow GDK to adjust shell profiles to enable shell completion if the gdk.shell_completion is set to true (can be false by default).
Addition and removal shell completion is handled by gdk reconfigure.
Impact
- Automating shell completion setup saves time for each GitLab developer, reducing command lookup and eliminating typing errors.
- New developers can get productive faster with automatic configuration of helpful shell tools.
- Ensures consistent developer environment configuration across the organization.
- Eliminates manual steps that developers might skip, increasing adoption of productivity-enhancing tools.
Implementation
- Support auto-completion for :
- GRD
- Local installation - all supported platforms
Impact measurements
- Track the usability errors due to mistyped commands or attributes in both local and remote dev environments.
Theme
The following categories relate to this issue:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
Edited by Mohga Gamea