From: Tanaka Akira <akr@jaist.ac.jp>
To: Zsh workers <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: Support file url in _urls
Date: 07 Oct 1999 22:21:47 +0900 [thread overview]
Message-ID: <rsqaepvjogk.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Oliver Kiddle's message of "Thu, 07 Oct 1999 12:42:52 +0100"
In article <37FC873C.F3257422@u.genie.co.uk>,
Oliver Kiddle <opk@u.genie.co.uk> writes:
> What is the bookmark url scheme? Is it something specific to Netscape or
> Lynx because if so, handling of it should move to _lynx/_netscape. Or,
> maybe we need to provide a way of specifying which url schemes are supported.
> Lynx supports a finger url for example.
Try
zsh% mkdir -p ~/.zsh/urls/bookmark/list
zsh% echo http://www.zsh.org/mla/ > ~/.zsh/urls/bookmark/list/zsh
zsh% lynx bookmark:list/zsh<TAB>
->
zsh% lynx http://www.zsh.org/mla/
This is zsh level bookmark implementation and not browser specific.
> I'm not entirely convinced by the system of taking urls from a directory
> structure. At the least I think there should be an alternative. For
> example, if $compconfig[urls_path] doesn't exist, the basic host names
> should complete after (http|file|ftp)://. I would also like a compconfig
> option which says that the local host is a web server, named X, doc root
> in Y and users own web pages in directory Z within their home so files on
> a local web server are completed.
Sounds good.
> Shouldn't _webbrowser be ditched and the first line of _urls be changed
> to the #compdef - it would be cleaner in my opinion. The only problem is
> that the -f option would be lost for those commands. We could always
> negate its meaning though.
I think _urls should complete only URLs by default. And its default
behaviour may be useful for web grabbers such as wget, htget, GET,
HEAD, curl, etc. There is _wget for wget, though.
--
Tanaka Akira
next prev parent reply other threads:[~1999-10-07 13:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-07 11:42 Oliver Kiddle
1999-10-07 11:47 ` Zefram
1999-10-07 13:21 ` Tanaka Akira [this message]
1999-10-07 13:26 ` Adam Spiers
[not found] ` <14332.42410.2764.422238@kevins>
1999-11-09 2:13 ` PATCH: automatically generate ~/.zsh/urls for use with _urls Adam Spiers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rsqaepvjogk.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).