GNU bug report logs - #32020
3 bash-completion errors

Previous Next

Package: guix;

Reported by: swedebugia <at> riseup.net

Date: Sat, 30 Jun 2018 15:32:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: 32020 <at> debbugs.gnu.org
Cc: Oleg Pykhalov <go.wigust <at> gmail.com>
Subject: bug#32020: [PATCH 1/2] bash completion: Complete files names after 'guix build -L'.
Date: Sat, 30 Jun 2018 19:52:58 +0300
* 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





This bug report was last modified 7 years and 43 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.