summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-06-30 19:49:29 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-07-03 06:58:51 +0300
commit9b0a755f642542dd96065ad05ec9d844d8077fd7 (patch)
tree8a4da8c5a1d0ddfd64ca349f159845621029a054 /etc
parent6104f922eef949cc49c4ef45a8c0cfef83989f53 (diff)
downloadguix-9b0a755f642542dd96065ad05ec9d844d8077fd7.tar.gz
bash completion: Complete files names after 'guix build -L'.
* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
build -L'.
Diffstat (limited to 'etc')
-rw-r--r--etc/completion/bash/guix6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index 70430c5c95..cc18fbc94d 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -167,6 +167,12 @@ _guix_complete ()
 		else
 		    _guix_complete_available_package "$word_at_point"
 		fi
+            elif _guix_is_command "build"
+            then
+                if _guix_is_dash_L
+                then
+                    _guix_complete_file
+                fi
 	    elif _guix_is_command "download"
 	    then
 		 _guix_complete_file