about summary refs log tree commit diff
path: root/Completion/Unix/Command/_mount
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-05-28 18:46:56 +0000
committerClint Adams <clint@users.sourceforge.net>2006-05-28 18:46:56 +0000
commitef04a344809a7bf2f1a2dd9e940a544c38214dd7 (patch)
tree3a14bd14fdf0276db8049fa4b662007779adedff /Completion/Unix/Command/_mount
parent989f7a825cb965f26964760bd292b9a4b18e869d (diff)
downloadzsh-ef04a344809a7bf2f1a2dd9e940a544c38214dd7.tar.gz
zsh-ef04a344809a7bf2f1a2dd9e940a544c38214dd7.tar.xz
zsh-ef04a344809a7bf2f1a2dd9e940a544c38214dd7.zip
22469: use _canonical_paths.
Diffstat (limited to 'Completion/Unix/Command/_mount')
-rw-r--r--Completion/Unix/Command/_mount3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_mount b/Completion/Unix/Command/_mount
index e3bbb61f3..72bdf0e93 100644
--- a/Completion/Unix/Command/_mount
+++ b/Completion/Unix/Command/_mount
@@ -870,7 +870,8 @@ udevordir)
 
   _alternative \
     'device-labels:device label:compadd -a dev_tmp' \
-    'directories:mount point:compadd -a mp_tmp' && ret=0
+    'device-paths: device path:_canonical_paths -A dpath_tmp -N device-paths device\ path' \
+    'directories:mount point:_canonical_paths -A mp_tmp -N directories mount\ point' && ret=0
   ;;
 esac