zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Sven Guckes <guckes@math.fu-berlin.de>, zsh-users@math.gatech.edu
Subject: Re: compctl - aliasing hostnames
Date: Thu, 30 Jul 1998 15:36:28 -0700	[thread overview]
Message-ID: <980730153628.ZM1360@candle.brasslantern.com> (raw)
In-Reply-To: <19980730230755.B6503@math.fu-berlin.de>

On Jul 30, 11:07pm, Sven Guckes wrote:
> Subject: compctl - aliasing hostnames
> I'd like to type "ssh alias" and be connected with "ssh hostname".
> How could you "alias" a hostname with completion control?

Use "alias -g":

zsh% alias -g fnorgle=aixhost
zsh% ssh fnorgle
user@aixhost's Password:

Of course, that means that fnorgle will be replaced by aixhost everywhere
in all commands, not just in the ssh command.


  reply	other threads:[~1998-07-30 22:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-30 21:07 Sven Guckes
1998-07-30 22:36 ` Bart Schaefer [this message]
1998-07-31  1:45 ` Geoff Wing
1998-07-31 15:02   ` compctl - aliasing hostnames -> ~/.ssh/config Sven Guckes
1998-07-31 15:25     ` Roland Jesse
1998-08-04  3:38 ` compctl - aliasing hostnames Todd Graham Lewis
1998-08-04 15:33   ` compctl - using hostnames with rlogin, rsh, and ssh Sven Guckes
1998-08-04 18:45     ` Roland Jesse
1998-08-04 19:11       ` Sven Guckes
1998-08-04 22:47         ` Thomas Köhler

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=980730153628.ZM1360@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=guckes@math.fu-berlin.de \
    --cc=zsh-users@math.gatech.edu \
    /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).