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
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
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
3 matches
Mail list logo