[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: bash completion: Complete 'guix gc' with file names.
From: |
Ludovic Courtès |
Subject: |
02/09: bash completion: Complete 'guix gc' with file names. |
Date: |
Mon, 6 Feb 2017 23:08:27 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit 3454f7edf9eb2901115cab522d980df712fa4078
Author: Ludovic Courtès <address@hidden>
Date: Mon Feb 6 15:55:08 2017 +0100
bash completion: Complete 'guix gc' with file names.
Reported by a couple of cool folks at a bar in Brussels.
* etc/completion/bash/guix (_guix_complete): Use '_guix_complete_file'
for 'guix gc'. This fixes completion of 'guix gc -d'.
---
etc/completion/bash/guix | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index c92f891..01b0e20 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -1,5 +1,5 @@
# GNU Guix --- Functional package management for GNU
-# Copyright © 2015, 2016 Ludovic Courtès <address@hidden>
+# Copyright © 2015, 2016, 2017 Ludovic Courtès <address@hidden>
#
# This file is part of GNU Guix.
#
@@ -158,7 +158,7 @@ _guix_complete ()
elif _guix_is_command "import"
then
_guix_complete_subcommand
- elif _guix_is_command "hash"
+ elif _guix_is_command "hash" || _guix_is_command "gc"
then
_guix_complete_file
else
- branch master updated (a24fda8 -> a062b6c), Ludovic Courtès, 2017/02/06
- 03/09: bash completion: Complete file names after 'guix system COMMAND'., Ludovic Courtès, 2017/02/06
- 06/09: services: bitlbee: Read the PID file., Ludovic Courtès, 2017/02/06
- 05/09: bash completion: Complete subcommands for the current word., Ludovic Courtès, 2017/02/06
- 02/09: bash completion: Complete 'guix gc' with file names.,
Ludovic Courtès <=
- 07/09: linux-container: Add 'container-excursion*'., Ludovic Courtès, 2017/02/06
- 01/09: file-systems: Add '%network-configuration-files' and '%network-file-mappings'., Ludovic Courtès, 2017/02/06
- 04/09: bash completion: Properly complete 'guix container exec'., Ludovic Courtès, 2017/02/06
- 09/09: services: bitlbee: Run in a container., Ludovic Courtès, 2017/02/06
- 08/09: Add (gnu build shepherd)., Ludovic Courtès, 2017/02/06