Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
dump completion question
- X-seq: zsh-users 11853
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: dump completion question
- Date: Tue, 18 Sep 2007 12:06:42 +0200
- Kreccount: 1
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi, I am trying do expand the completion function for cssh
so that it shows the defined clusters but I am too stupid. :-)
I read in the defined clusters like this:
definedclusters=$(grep ^clusters ~/.csshrc | cut -d= -f2- 2>/dev/null)
But how do I make use of this variable now?
What I want is:
% echo $definedclusters
abc def ghi
% cssh <TAB>
- defined clusters -
abc def ghi
Thanks,
Andy.
--
Do files get embarrassed when they get unzipped?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author