Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

dump completion question



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