diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2022-01-17 17:23:59 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2022-01-17 19:05:48 +0100 |
| commit | 93d3a2b23cb264ae95e4478c28e3abd9ddcadd2d (patch) | |
| tree | 4b33017d6be1198774880bcfe64fcf7440decd03 /etc/completion | |
| parent | 3f536e01c1099fc6425c086417cf5a1af10dbab7 (diff) | |
bash completion: Complete "guix home" sub-commands.
* etc/completion/bash/guix (_guix_complete): Treat "guix home" like
"guix system".
Diffstat (limited to 'etc/completion')
| -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 38fb490cb39..6b1b70aac1d 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, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org> | 2 | # Copyright © 2015-2022 Ludovic Courtès <ludo@gnu.org> |
| 3 | # Copyright © 2021 Tobias Geerinck-Rice <me@tobias.gr> | 3 | # Copyright © 2021 Tobias Geerinck-Rice <me@tobias.gr> |
| 4 | # | 4 | # |
| 5 | # This file is part of GNU Guix. | 5 | # This file is part of GNU Guix. |
| @@ -294,7 +294,7 @@ _guix_complete () | |||
| 294 | elif [[ "$command" = "size" ]] | 294 | elif [[ "$command" = "size" ]] |
| 295 | then | 295 | then |
| 296 | _guix_complete_available_package_or_store_file "$word_at_point" | 296 | _guix_complete_available_package_or_store_file "$word_at_point" |
| 297 | elif [[ "$command" = "system" ]] | 297 | elif [[ "$command" = "system" || "$command" = "home" ]] |
| 298 | then | 298 | then |
| 299 | case $((COMP_CWORD - command_index)) in | 299 | case $((COMP_CWORD - command_index)) in |
| 300 | 1) _guix_complete_subcommand;; | 300 | 1) _guix_complete_subcommand;; |
