grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Kiper <dkiper@net-space.pl>
To: Gary Lin <glin@suse.com>
Cc: grub-devel@gnu.org
Subject: Re: [PATCH] util/bash-completion: Load scripts on demand
Date: Thu, 8 Feb 2024 17:45:49 +0100	[thread overview]
Message-ID: <20240208164549.y2vks55lp4xy6gzc@tomti.i.net-space.pl> (raw)
In-Reply-To: <20240130064110.23653-1-glin@suse.com>

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 <glin@suse.com>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

      reply	other threads:[~2024-02-08 16:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-30  6:41 [PATCH] util/bash-completion: Load scripts on demand Gary Lin via Grub-devel
2024-02-08 16:45 ` Daniel Kiper [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240208164549.y2vks55lp4xy6gzc@tomti.i.net-space.pl \
    --to=dkiper@net-space.pl \
    --cc=glin@suse.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).