* PATCH: _urls quote bookmark
@ 2000-01-14 9:40 Tanaka Akira
0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 2000-01-14 9:40 UTC (permalink / raw)
To: zsh-workers
I rethought that bookmark should be quoted when it is completed.
Index: Completion/User/_urls
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/_urls,v
retrieving revision 1.1.1.17
diff -u -r1.1.1.17 _urls
--- Completion/User/_urls 2000/01/06 14:07:49 1.1.1.17
+++ Completion/User/_urls 2000/01/14 09:37:44
@@ -88,7 +88,7 @@
if [[ -f "$urls_path/$scheme/${(Q)PREFIX}${(Q)SUFFIX}" &&
-s "$urls_path/$scheme/${(Q)PREFIX}${(Q)SUFFIX}" ]]; then
_wanted -C bookmark bookmarks expl bookmarks &&
- compadd "$expl[@]" "$@" -QU - \
+ compadd "$expl[@]" "$@" -U - \
"$ipre$(<"$urls_path/$scheme/${(Q)PREFIX}${(Q)SUFFIX}")" && ret=0
else
if _wanted -C bookmark files expl 'bookmark'; then
@@ -107,7 +107,7 @@
uhosts=($urls_path/$scheme/$PREFIX*$SUFFIX(/:t))
(( $#uhosts )) || _hosts -S/ && ret=0
[[ "$scheme" = http ]] && uhosts=($uhosts $localhttp_servername)
- compadd "$expl[@]" "$@" -QS/ - $uhosts && ret=0
+ compadd "$expl[@]" "$@" -S/ - $uhosts && ret=0
return ret
fi
host="$match[1]"
--
Tanaka Akira
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-01-14 9:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-14 9:40 PATCH: _urls quote bookmark 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).