* PATCH: _mount didn't complete devices.
@ 2000-05-03 11:22 Tanaka Akira
0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 2000-05-03 11:22 UTC (permalink / raw)
To: zsh-workers
Z(4):akr@serein% Src/zsh -f
serein% bindkey -e; autoload -U compinit; compinit -D
serein% zstyle ':completion*' group-name ''
serein% zstyle ':completion*:descriptions' format %d
serein% mount
device
/dev/\*
mount point
CVS/ Config/ Etc/ Misc/ StartupFiles/ Util/
Completion/ Doc/ Functions/ Src/ Test/
Hm. /dev/\* is not globbed.
Index: Completion/User/_mount
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_mount,v
retrieving revision 1.4
diff -u -r1.4 _mount
--- Completion/User/_mount 2000/05/02 08:23:31 1.4
+++ Completion/User/_mount 2000/05/03 11:18:56
@@ -554,7 +554,7 @@
_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
;;
--
Tanaka Akira
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-03 11:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-03 11:22 PATCH: _mount didn't complete devices Tanaka Akira
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).