From: Oleg Pykhalov <go.wigust@gmail.com>
To: 32020@debbugs.gnu.org
Subject: bug#32020: [PATCH 1/2] bash completion: Complete files names after 'guix build -L'.
Date: Sat, 30 Jun 2018 19:52:58 +0300 [thread overview]
Message-ID: <20180630165259.29152-1-go.wigust@gmail.com> (raw)
In-Reply-To: <106ea85e25bddfc69c20b97270ae35e6@riseup.net>
* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
build -L'.
---
etc/completion/bash/guix | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index 70430c5c9..cc18fbc94 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -167,6 +167,12 @@ _guix_complete ()
else
_guix_complete_available_package "$word_at_point"
fi
+ elif _guix_is_command "build"
+ then
+ if _guix_is_dash_L
+ then
+ _guix_complete_file
+ fi
elif _guix_is_command "download"
then
_guix_complete_file
--
2.18.0
next prev parent reply other threads:[~2018-06-30 16:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-30 15:30 bug#32020: 3 bash-completion errors swedebugia
2018-06-30 16:52 ` Oleg Pykhalov [this message]
2018-06-30 16:52 ` bug#32020: [PATCH 2/2] bash completion: Complete files names after 'guix weather -m' Oleg Pykhalov
2018-07-02 10:21 ` bug#32020: [PATCH 1/2] bash completion: Complete files names after 'guix build -L' Ludovic Courtès
2018-07-03 4:06 ` Oleg Pykhalov
2018-06-30 17:00 ` bug#32020: 3 bash-completion errors Oleg Pykhalov
2018-06-30 18:24 ` swedebugia
2018-06-30 18:41 ` Ricardo Wurmus
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180630165259.29152-1-go.wigust@gmail.com \
--to=go.wigust@gmail.com \
--cc=32020@debbugs.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).