diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-08-20 12:57:00 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-08-22 23:13:42 +0200 |
commit | ed8634c404410ed5e0d3ab06e43bd50d4eed9c42 (patch) | |
tree | 03dbfd22a4343b3b66d0434bc1996b89311c2329 /etc | |
parent | 2e4569829e12afd23bb4671704a6f48c6b29c786 (diff) | |
download | patches-ed8634c404410ed5e0d3ab06e43bd50d4eed9c42.tar patches-ed8634c404410ed5e0d3ab06e43bd50d4eed9c42.tar.gz |
bash completion: Complete files names after 'guix download'.
* etc/completion/bash/guix (_guix_complete): When the command is "download",
use __guix_complete_file.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/completion/bash/guix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix index 6a5f281c4f..6b84193dbe 100644 --- a/etc/completion/bash/guix +++ b/etc/completion/bash/guix @@ -158,6 +158,9 @@ _guix_complete () else _guix_complete_available_package "$word_at_point" fi + elif _guix_is_command "download" + then + _guix_complete_file elif _guix_is_command "system" then case $COMP_CWORD in |