about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/X/_x_arguments2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/X/_x_arguments b/Completion/X/_x_arguments
index b820b50b0..cf0fe2ebe 100644
--- a/Completion/X/_x_arguments
+++ b/Completion/X/_x_arguments
@@ -7,6 +7,8 @@ xargs=(
   '-geometry:geometry:_x_geometry'
 )
 
+(( $# )) || xargs=( "$xargs[@]" '*:files: _files' )
+
 long=$argv[(I)--]
 if (( long )); then
   argv[long]=( "$xargs[@]" -- )