[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/295: bash completion: Complete 'guix environment' properly.
From: |
guix-commits |
Subject: |
27/295: bash completion: Complete 'guix environment' properly. |
Date: |
Mon, 27 Jul 2020 06:25:08 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
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
- 20/295: gnu: libcyaml: Remove unused input., (continued)
- 20/295: gnu: libcyaml: Remove unused input., guix-commits, 2020/07/27
- 11/295: gnu: libconfuse: Do not build static libraries., guix-commits, 2020/07/27
- 18/295: gnu: libzip: Update to 1.7.1., guix-commits, 2020/07/27
- 10/295: gnu: libconfuse: Update to 3.3., guix-commits, 2020/07/27
- 26/295: gnu: Add autofs., guix-commits, 2020/07/27
- 34/295: gnu: dropbear: Update to 2020.80 [fix for CVE-2018-20685]., guix-commits, 2020/07/27
- 24/295: gnu: python-setproctitle: Fix build., guix-commits, 2020/07/27
- 08/295: gnu: feh: Update to 3.4.1., guix-commits, 2020/07/27
- 16/295: gnu: exempi: Update to 2.5.2., guix-commits, 2020/07/27
- 30/295: daemon: Recognize SHA3 and BLAKE2s., guix-commits, 2020/07/27
- 27/295: bash completion: Complete 'guix environment' properly.,
guix-commits <=
- 35/295: gnu: r-dexseq: Update to 1.34.1., guix-commits, 2020/07/27
- 40/295: gnu: r-ggpubr: Update to 0.4.0., guix-commits, 2020/07/27
- 36/295: gnu: r-biocviews: Update to 1.56.1., guix-commits, 2020/07/27
- 38/295: gnu: r-jsonlite: Update to 1.7.0., guix-commits, 2020/07/27
- 37/295: gnu: r-scater: Update to 1.16.2., guix-commits, 2020/07/27
- 42/295: gnu: r-sjlabelled: Update to 1.1.6., guix-commits, 2020/07/27
- 45/295: gnu: r-rcppparallel: Update to 5.0.2., guix-commits, 2020/07/27
- 47/295: gnu: r-rgdal: Update to 1.5-12., guix-commits, 2020/07/27
- 48/295: gnu: r-directlabels: Update to 2020.6.17., guix-commits, 2020/07/27
- 51/295: gnu: r-fpc: Update to 2.2-7., guix-commits, 2020/07/27