Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re; lftp completion
- X-seq: zsh-workers 13617
- From: Oliver Kiddle <opk@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re; lftp completion
- Date: Tue, 13 Mar 2001 12:59:48 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: Oliver Kiddle <kiddleo@xxxxxxxxxx>
Bart wrote:
> Chmouel's _lftp function is very similar to _ncftp. Here's a single
> function that handles both, without resorting to "awk -F" or "cut":
> local bookmarks=$HOME/.${words[0]:t}/bookmarks
Shouldn't the function be using $service instead of ${words[0]:t}?
> Any object to replacing _ncftp with the above and removing _lftp? (One
> possible objection might be that lftp allows commas in its bookmark
> names; I don't know whether or not that's the case.)
It seems like a reasonable thing to do to me. There is also enough
similarity that even if someone takes the time to improve the function
they can probably keep the two commands together.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author