Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _mount (use _canonical_paths)



And this switches _mount over to use _canonical paths.  From R.Ramkumar.

Index: Completion/Unix/Command/_mount
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_mount,v
retrieving revision 1.24
diff -u -r1.24 _mount
--- Completion/Unix/Command/_mount	28 May 2006 18:42:01 -0000	1.24
+++ Completion/Unix/Command/_mount	28 May 2006 18:43:51 -0000
@@ -870,7 +870,8 @@
 
   _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
 



Messages sorted by: Reverse Date, Date, Thread, Author