summary refs log tree commit diff
path: root/Completion/User/_mount
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_mount')
-rw-r--r--Completion/User/_mount2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_mount b/Completion/User/_mount
index 0d8d0996f..b0d20ca98 100644
--- a/Completion/User/_mount
+++ b/Completion/User/_mount
@@ -554,7 +554,7 @@ devordir)
     _message "no device or directory with option \`-a'"
   else
     _alternative \
-        'devices:device:compadd /dev/\*' \
+        'devices:device:{compadd "$expl[@]" /dev/*}' \
 	'directories:mount point:_files -/' && ret=0
   fi
   ;;