Browse Source

bash completion: Complete 'guix environment' properly.

* etc/completion/bash/guix (_guix_complete): Add case for "guix environment".
Ludovic Courtès 1 year ago
parent
commit
4b4f890cb0
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 8
      etc/completion/bash/guix

8
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

Loading…
Cancel
Save