Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compctl - aliasing hostnames
- X-seq: zsh-users 1688
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: compctl - aliasing hostnames
- Date: Thu, 30 Jul 1998 15:36:28 -0700
- In-reply-to: <19980730230755.B6503@xxxxxxxxxxxxxxxxx>
- References: <19980730230755.B6503@xxxxxxxxxxxxxxxxx>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author