mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
bash completion: Complete 'guix environment' properly.
* etc/completion/bash/guix (_guix_complete): Add case for "guix environment".
This commit is contained in:
parent
5c10200b54
commit
4b4f890cb0
1 changed files with 8 additions and 0 deletions
|
@ -222,6 +222,14 @@ _guix_complete ()
|
||||||
else
|
else
|
||||||
_guix_complete_available_package "$word_at_point"
|
_guix_complete_available_package "$word_at_point"
|
||||||
fi
|
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"
|
elif _guix_is_command "download"
|
||||||
then
|
then
|
||||||
_guix_complete_file
|
_guix_complete_file
|
||||||
|
|
Loading…
Reference in a new issue