[ https://issues.apache.org/jira/browse/CASSANDRA-7785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106373#comment-14106373 ]
Aaron Ploetz commented on CASSANDRA-7785: ----------------------------------------- [~mishail] I like what you did with the {{set_prompt}} method. Certainly a much more elegant solution than my chain of {{if/elif}}s. In any case, I tested it out on my local; with and without a user, with and without a keyspace. Looks good. > cqlsh - display the current logged-in user. > ------------------------------------------- > > Key: CASSANDRA-7785 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7785 > Project: Cassandra > Issue Type: Improvement > Components: Tools > Reporter: Aaron Ploetz > Priority: Trivial > Labels: cqlsh, lhf > Fix For: 2.1.1 > > Attachments: 2.1.1-CASSANDRA-7785.txt, 2.1.1-CASSANDRA-7785_2.txt, > CASSANDRA-2.1-7785-v3.patch > > > Currently, a user in cqlsh cannot see which user they are logged-in as. When > you have a cqlsh that has been open for a few hours, sometimes it is helpful > to be able to type a quick command and see your current user. -- This message was sent by Atlassian JIRA (v6.2#6252)