[ 
https://issues.apache.org/jira/browse/CASSANDRA-6421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861585#comment-13861585
 ] 

Cyril Scetbon commented on CASSANDRA-6421:
------------------------------------------

It's weird that it doesn't work for you. FYI, I'm using bash_completion 1.3 on 
OSX 10.9 Maverick with bash 3.2. If you don't have any error when you login 
there can be 2 reasons :
* the completion script is well loaded
* the completion script is not found

Try to use 
{code}$ set -x{code}
before using nodetool \[TAB\] to check what's happening and if something is 
happening :) 

> Add bash completion to nodetool
> -------------------------------
>
>                 Key: CASSANDRA-6421
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6421
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Cyril Scetbon
>            Assignee: Cyril Scetbon
>            Priority: Trivial
>             Fix For: 1.2.14, 2.0.5
>
>
> You can find the bash-completion file at 
> https://raw.github.com/cscetbon/cassandra/nodetool-completion/etc/bash_completion.d/nodetool
> it uses cqlsh to get keyspaces and namespaces and could use an environment 
> variable (not implemented) to get access which cqlsh if authentification is 
> needed. But I think that's really a good start :)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to