From: "Yi Qiang" <yqiang@gmail.com>
To: "William Scott" <wgscott@chemistry.ucsc.edu>, zsh-users@sunsite.dk
Subject: Re: zsh ssh host completion on OS X
Date: Fri, 17 Nov 2006 15:16:18 -0800 [thread overview]
Message-ID: <3af8969a0611171516x68d57411g515b08c7629945fd@mail.gmail.com> (raw)
In-Reply-To: <36738.69.3.145.87.1163804760.squirrel@mail.acg.ucsc.edu>
[-- Attachment #1: Type: text/plain, Size: 801 bytes --]
On 11/17/06, William Scott <wgscott@chemistry.ucsc.edu> wrote:
>
> Wataru Kagawa wrote a really cool OSX-specific and customizable user and
> host completion for OS X.
>
> http://murl.info/15313
Wow! I am very impressed. Awesome stuff, thanks for the link!
Cheers,
Yi
Yi Qiang wrote:
> > Hi,
> > I've always loved the ssh host completion feature in zsh I found on some
> > website. I have this in my .zshrc:
> >
> > 61 # complete ssh hosts
> > 62 local _myhosts
> > 63 _myhosts=( ${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\
> > *}%%,*} )
> > 64 zstyle ':completion:*' hosts $_myhosts
> >
> > It seems to work fine on my linux box, but on OSX hitting tab doesn't do
> > anything.
> >
> > zsh 4.2.3 (powerpc-apple-darwin8.0)
> >
> >
> > Any ideas?
> >
> > Yi
> >
>
>
[-- Attachment #2: Type: text/html, Size: 1533 bytes --]
next prev parent reply other threads:[~2006-11-17 23:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-17 22:52 Yi Qiang
2006-11-17 23:06 ` William Scott
2006-11-17 23:16 ` Yi Qiang [this message]
2006-11-18 0:33 ` Yi Qiang
2006-11-18 3:40 ` Bart Schaefer
2006-11-18 7:17 ` Yi Qiang
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=3af8969a0611171516x68d57411g515b08c7629945fd@mail.gmail.com \
--to=yqiang@gmail.com \
--cc=wgscott@chemistry.ucsc.edu \
--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).