bash completion: Complete files names after 'guix build -L'.

* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
build -L'.
This commit is contained in:
Oleg Pykhalov 2018-06-30 19:49:29 +03:00
parent 6104f922ee
commit 9b0a755f64
No known key found for this signature in database
GPG Key ID: 7246E11C69B79569
1 changed files with 6 additions and 0 deletions

View File

@ -167,6 +167,12 @@ _guix_complete ()
else else
_guix_complete_available_package "$word_at_point" _guix_complete_available_package "$word_at_point"
fi fi
elif _guix_is_command "build"
then
if _guix_is_dash_L
then
_guix_complete_file
fi
elif _guix_is_command "download" elif _guix_is_command "download"
then then
_guix_complete_file _guix_complete_file