From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20157 invoked from network); 4 Oct 2000 11:44:58 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 Oct 2000 11:44:58 -0000 Received: (qmail 25229 invoked by alias); 4 Oct 2000 11:44:47 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12881 Received: (qmail 25221 invoked from network); 4 Oct 2000 11:44:47 -0000 Date: Wed, 4 Oct 2000 13:44:44 +0200 (MET DST) Message-Id: <200010041144.NAA09493@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "E. Jay Berkenbilt"'s message of Sun, 17 Sep 2000 19:33:49 -0400 Subject: Re: generals observations about completion system E. Jay Berkenbilt wrote: Most of this has been answered or is being thought about or worked upon elsewhere, so I'll jump to: > ... > > 2. The ssh completion function does not use the user-hosts style > even though this style is documented. (If it uses it, I've > missed it.) It knows about ssh's ability to say ssh user@host > rather than ssh host -l user. You can easily override the list > of hosts to be completed by setting the hosts style for the ssh > command, but this doesn't entirely solve the problem. If I hit > > ssh TAB > > I get a list of all users and hosts. There are a lot more users > on my system than there are hosts that I ssh to. I want to > change ssh to complete only on hosts, not on users. If I want > users, I'll use -l. There seems to be no good way to do this > without simply copying and modifying the _ssh file. Look at the `tag-order' style (probably the most important style). If you're feeling bold, look at the `hidden' style (probably together with `group-name'; it would allow you to just keep the user names from being listed). Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de