From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29151 invoked from network); 30 Jul 1998 22:46:54 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 30 Jul 1998 22:46:54 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id SAA06667; Thu, 30 Jul 1998 18:40:55 -0400 (EDT) Resent-Date: Thu, 30 Jul 1998 18:34:32 -0400 (EDT) From: "Bart Schaefer" Message-Id: <980730153628.ZM1360@candle.brasslantern.com> Date: Thu, 30 Jul 1998 15:36:28 -0700 In-Reply-To: <19980730230755.B6503@math.fu-berlin.de> Comments: In reply to Sven Guckes "compctl - aliasing hostnames" (Jul 30, 11:07pm) References: <19980730230755.B6503@math.fu-berlin.de> X-Mailer: Z-Mail Lite (5.0.0 30July97) To: Sven Guckes , zsh-users@math.gatech.edu Subject: Re: compctl - aliasing hostnames MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"jY4G42.0.FZ1.tJFmr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1688 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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.