about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-04-29 08:40:36 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-05-01 01:52:28 +0000
commit2979122d2d8fe6604840d209d13b8645e2ef142e (patch)
tree169442691f1670a713c070e3ca4d7cacba035d4a
parent9afb67eb6561e922fae29e7227a58517f73ad050 (diff)
downloadzsh-2979122d2d8fe6604840d209d13b8645e2ef142e.tar.gz
zsh-2979122d2d8fe6604840d209d13b8645e2ef142e.tar.xz
zsh-2979122d2d8fe6604840d209d13b8645e2ef142e.zip
_git-bundle: Complete required file argument to 'git bundle' correctly.
-rw-r--r--Completion/Unix/Command/_git1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 3b48b4ec1..135da9f85 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -388,6 +388,7 @@ _git-bundle () {
           ;;
         (list-heads|unbundle)
           _arguments \
+            ':bundle:_files' \
             '*: :__git_ref_specs' && ret=0
           ;;
       esac