bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32020: [PATCH 2/2] bash completion: Complete files names after 'guix


From: Oleg Pykhalov
Subject: bug#32020: [PATCH 2/2] bash completion: Complete files names after 'guix weather -m'.
Date: Sat, 30 Jun 2018 19:52:59 +0300

* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
weather -m'.
---
 etc/completion/bash/guix | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index cc18fbc94..a593b8112 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -195,6 +195,12 @@ _guix_complete ()
            elif _guix_is_command "hash" || _guix_is_command "gc"
            then
                _guix_complete_file
+            elif _guix_is_command "weather"
+            then
+                if _guix_is_dash_m
+                then
+                    _guix_complete_file
+                fi
            else
                _guix_complete_available_package "$word_at_point"
            fi
-- 
2.18.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]