[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: bash completion: Complete "guix home" sub-commands.
From: |
guix-commits |
Subject: |
05/05: bash completion: Complete "guix home" sub-commands. |
Date: |
Mon, 17 Jan 2022 13:09:30 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 93d3a2b23cb264ae95e4478c28e3abd9ddcadd2d
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jan 17 17:23:59 2022 +0100
bash completion: Complete "guix home" sub-commands.
* etc/completion/bash/guix (_guix_complete): Treat "guix home" like
"guix system".
---
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 38fb490cb3..6b1b70aac1 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, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès
<ludo@gnu.org>
+# Copyright © 2015-2022 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2021 Tobias Geerinck-Rice <me@tobias.gr>
#
# This file is part of GNU Guix.
@@ -294,7 +294,7 @@ _guix_complete ()
elif [[ "$command" = "size" ]]
then
_guix_complete_available_package_or_store_file "$word_at_point"
- elif [[ "$command" = "system" ]]
+ elif [[ "$command" = "system" || "$command" = "home" ]]
then
case $((COMP_CWORD - command_index)) in
1) _guix_complete_subcommand;;