aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-10-03 13:26:35 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-10-03 19:23:48 +0200
commitee5e4779e21b6eaf3229ab4201e731d8dde7e4b2 (patch)
tree74fb01bb449ce86b4f710c2135041e3d3ae8d353
parent17f76b209ceca9972dcd375d2a0f869abc6d1f26 (diff)
downloadguix-ee5e4779e21b6eaf3229ab4201e731d8dde7e4b2.tar.gz
guix-ee5e4779e21b6eaf3229ab4201e731d8dde7e4b2.zip
bash completion: Complete ‘guix weather’ packages.
* etc/completion/bash/guix (_guix_complete): Complete available package names for ‘guix weather’ when not following ‘-m’.
-rw-r--r--etc/completion/bash/guix2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index ea8f76f3e0..724d35b21f 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -302,6 +302,8 @@ _guix_complete ()
if _guix_is_dash_m
then
_guix_complete_file
+ else
+ _guix_complete_available_package "$word_at_point"
fi
else
_guix_complete_available_package "$word_at_point"