diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2017-02-06 15:55:08 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2017-02-07 00:08:10 +0100 |
| commit | 3454f7edf9eb2901115cab522d980df712fa4078 (patch) | |
| tree | 05ee7befa0f2218863864b652127ff205d436a44 /etc/completion/bash | |
| parent | 7597478e2e731c09890b25ff0b817d2d7c45d01f (diff) | |
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'.
Diffstat (limited to 'etc/completion/bash')
| -rw-r--r-- | etc/completion/bash/guix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix index c92f8915c9b..01b0e203942 100644 --- a/etc/completion/bash/guix +++ b/etc/completion/bash/guix | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # GNU Guix --- Functional package management for GNU | 1 | # GNU Guix --- Functional package management for GNU |
| 2 | # Copyright © 2015, 2016 Ludovic Courtès <ludo@gnu.org> | 2 | # Copyright © 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org> |
| 3 | # | 3 | # |
| 4 | # This file is part of GNU Guix. | 4 | # This file is part of GNU Guix. |
| 5 | # | 5 | # |
| @@ -158,7 +158,7 @@ _guix_complete () | |||
| 158 | elif _guix_is_command "import" | 158 | elif _guix_is_command "import" |
| 159 | then | 159 | then |
| 160 | _guix_complete_subcommand | 160 | _guix_complete_subcommand |
| 161 | elif _guix_is_command "hash" | 161 | elif _guix_is_command "hash" || _guix_is_command "gc" |
| 162 | then | 162 | then |
| 163 | _guix_complete_file | 163 | _guix_complete_file |
| 164 | else | 164 | else |
