From 3a15d0aa9c55881ddc3a21570350a743c28a6c92 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sat, 30 Jun 2018 19:50:40 +0300 Subject: bash completion: Complete files names after 'guix weather -m'. * etc/completion/bash/guix (_guix_complete): Complete files names after 'guix weather -m'. --- etc/completion/bash/guix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc') diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix index cc18fbc94d..a593b8112c 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 -- cgit v1.2.3