Bug#697370: clusterssh: add autocompletion for defined clusters

2015-08-25 Thread tony mancill
On 08/16/2015 11:14 PM, Oliver Meißner wrote: > Hello, > > the following file should do autocompletion in bash for > clusterssh-clusters: > Hello Oliver, Thank you for the patch. I'll work on getting it into the next upload of clusterssh. Cheers, tony signature.asc Description: OpenPGP dig

Bug#697370: clusterssh: add autocompletion for defined clusters

2015-08-16 Thread Oliver Meißner
Hello, the following file should do autocompletion in bash for clusterssh-clusters $ cat /etc/bash_completion.d/clusterssh _cssh() { local cur prev base COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" if [[ ${cur} == -* ]]; then opts=$( cssh --help 2>&1 | egrep

Bug#697370: clusterssh: add autocompletion for defined clusters

2013-01-04 Thread Sandro Tosi
Package: clusterssh Version: 4.01.01-4 Severity: wishlist Hello, it would be nice if autocompletion would work for the defined clusters; so that if I have 'cluster1' in .clusterssh/clusters and then I go into the shell and type $ cssh clu that would complete to 'cluster1'. Thanks & Regards, San