On Tue, Jan 30, 2024 at 02:41:10PM +0800, Gary Lin via Grub-devel wrote: > There are two system directories for bash-completion scripts. One is > /usr/share/bash-completion/completions and the other is > /etc/bash_completion.d/. The 'etc' scripts are loaded in advance and > for backward compatibility while the 'usr' scripts are loaded on demand. > To load scripts on demand, it requires the corresponding script to > every command, so the main bash-completion script is split into several > subscripts for different grub commands. To share the code, the real > completion functions are still implemented in 'grub', and each > subscript sources 'grub' and invokes the corresponding function. > > Signed-off-by: Gary Lin <g...@suse.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com> Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel