[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/07: bash completion: Complete 'guix environment' properly.
From: |
guix-commits |
Subject: |
01/07: bash completion: Complete 'guix environment' properly. |
Date: |
Sat, 27 Jun 2020 17:43:08 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 4b4f890cb03d7c5b958fe08553dfad2f39a1d4f2
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Jun 27 17:18:52 2020 +0200
bash completion: Complete 'guix environment' properly.
* etc/completion/bash/guix (_guix_complete): Add case for "guix
environment".
---
etc/completion/bash/guix | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index df35919..5aebd07 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -222,6 +222,14 @@ _guix_complete ()
else
_guix_complete_available_package "$word_at_point"
fi
+ elif _guix_is_command "environment"
+ then
+ if _guix_is_dash_L || _guix_is_dash_m || _guix_is_dash_p
+ then
+ _guix_complete_file
+ else
+ _guix_complete_available_package "$word_at_point"
+ fi
elif _guix_is_command "download"
then
_guix_complete_file
- branch master updated (5c10200 -> 0b7c540), guix-commits, 2020/06/27
- 01/07: bash completion: Complete 'guix environment' properly.,
guix-commits <=
- 02/07: daemon: Map directly to gcrypt hash functions., guix-commits, 2020/06/27
- 03/07: daemon: Remove OpenSSL hash compatibility wrappers., guix-commits, 2020/06/27
- 06/07: gnu: libtiff: Use HTTPS., guix-commits, 2020/06/27
- 04/07: daemon: Recognize SHA3 and BLAKE2s., guix-commits, 2020/06/27
- 05/07: packages: Recognize SHA3 and BLAKE2s for 'content-hash'., guix-commits, 2020/06/27
- 07/07: gnu: lxqt: Update to 0.15.0., guix-commits, 2020/06/27