zsh-users
 help / color / mirror / code / Atom feed
* Completion for finger
@ 1998-10-29  6:11 Sameer D'Costa
  1998-10-29  9:04 ` RoboHak
  0 siblings, 1 reply; 2+ messages in thread
From: Sameer D'Costa @ 1998-10-29  6:11 UTC (permalink / raw)
  To: zsh-users

Hi,

Does anyone have a completion for the finger command? I need 

finger username@hostname
"username" is the system list of users 
"hostname" is my predefined list of various hosts

I also need to be able to execute the command with just
finger username

Any help will be appreciated alot. I spent some time on the man pages and
although I learnt alot of things this continues to elude me.

Thanks
sameer


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Completion for finger
  1998-10-29  6:11 Completion for finger Sameer D'Costa
@ 1998-10-29  9:04 ` RoboHak
  0 siblings, 0 replies; 2+ messages in thread
From: RoboHak @ 1998-10-29  9:04 UTC (permalink / raw)
  To: Sameer D'Costa; +Cc: zsh-users

This is from compctl-examples in the Misc dir of zsh 3.1.4:
compctl -x 'N[-1,@]' -k hosts - 's[]' -u -qS '@' -- finger

It meets all of your requirements.

--
RoboHak

On Thu, 29 Oct 1998, Sameer D'Costa wrote:

> Hi,
> 
> Does anyone have a completion for the finger command? I need 
> 
> finger username@hostname
> "username" is the system list of users 
> "hostname" is my predefined list of various hosts
> 
> I also need to be able to execute the command with just
> finger username
> 
> Any help will be appreciated alot. I spent some time on the man pages and
> although I learnt alot of things this continues to elude me.
> 
> Thanks
> sameer
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-10-29  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-29  6:11 Completion for finger Sameer D'Costa
1998-10-29  9:04 ` RoboHak

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).