zsh-users
 help / color / mirror / code / Atom feed
From: Marius Strom <marius@alpha1.net>
To: zsh-users@sunsite.dk
Subject: Re: completion tricks
Date: Mon, 19 Mar 2001 14:15:33 -0600	[thread overview]
Message-ID: <20010319141533.D94071@alpha1.net> (raw)
In-Reply-To: <Pine.LNX.4.31.0103191314040.4850-100000@neptune>; from shippy@nmt.edu on Mon, Mar 19, 2001 at 01:14:54PM -0700

Jeff,
I did the second portion as thus in my .zshrc:

hosts=( host1 host2 host3.fqdn.com )
compctl -k hosts ssh ftp telnet ping traceroute mtr rlogin rsh

On Mon, Mar 19, 2001 at 01:14:54PM -0700, Jeff Shipman wrote:
> I was wondering how to set up some completion tricks like
> these:
> 
> 1) Using 'man' will complete different man pages
> 
> 2) Using ssh, rlogin, telnet, etc will complete
>    different hosts on my network.
> 
> Any help would be greatly appreciated. Thanks!
> 
> Jeff "Shippy" Shipman     E-Mail: shippy@nmt.edu
> Computer Science Major    ICQ: 1786493
> New Mexico Institute of Mining and Technology
> Homepage: http://www.nmt.edu/~shippy

-- 
Marius Strom <marius@alpha1.net>
Professional Geek/Unix System Administrator
Alpha1 Internet <http://www.alpha1.net/>
http://www.marius.org/marius.pgp 0xF5D89089 *updated 2001-02-26*
 
Never underestimate the bandwidth of a mini-van full of DLT
tapes traveling down the highway at 65 miles per hour.
	-Andrew Tanenbaum, "Computer Networks"


  reply	other threads:[~2001-03-19 20:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-19 20:14 Jeff Shipman
2001-03-19 20:15 ` Marius Strom [this message]
2001-03-19 21:30   ` Adam Spiers
2001-03-19 21:46     ` Matt Armstrong
2001-03-19 22:04       ` Adam Spiers
2001-03-19 22:25         ` Matt Armstrong
2001-03-19 23:06           ` Adam Spiers
2001-03-20  8:28             ` Sven Wischnowsky
2001-03-20  8:37               ` Bart Schaefer
2001-03-20 14:57               ` Adam Spiers
2001-03-19 20:47 ` Stephane Bortzmeyer
2001-03-20 14:41 ` Stephane Bortzmeyer
2001-03-20  8:30 Felix Rosencrantz
2001-03-20  9:54 Sven Wischnowsky
2001-03-20 15:36 Sven Wischnowsky
2001-03-20 17:00 ` Adam Spiers
2001-03-21  8:23 Sven Wischnowsky

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=20010319141533.D94071@alpha1.net \
    --to=marius@alpha1.net \
    --cc=zsh-users@sunsite.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).