about summary refs log tree commit diff
path: root/_xtools
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-03-07 12:24:35 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-03-07 12:24:35 +0100
commit99bfe8515b865567ed3de53026a71121b072910b (patch)
tree3aef584ae8ae658ec5964d2a1a8e40a6055ecb0c /_xtools
parent4c6a647a3e4c23bfe195395d3cced30d4b7c3c17 (diff)
downloadxtools-99bfe8515b865567ed3de53026a71121b072910b.tar.gz
xtools-99bfe8515b865567ed3de53026a71121b072910b.tar.xz
xtools-99bfe8515b865567ed3de53026a71121b072910b.zip
_xgensum: complete directories or templates.
Fixes #34.
Diffstat (limited to '_xtools')
-rw-r--r--_xtools2
1 files changed, 1 insertions, 1 deletions
diff --git a/_xtools b/_xtools
index 5869cd0..043a4fe 100644
--- a/_xtools
+++ b/_xtools
@@ -49,7 +49,7 @@ _xgensum() {
 	_arguments : \
 		'-f[force downloading of files]' \
 		'-i[substitute in-place]' \
-		':available templates:_xtools_all_packages'
+		':available templates:_path_files -g "*(/)|template(N)"'
 }
 
 _xgrep() {