Skip to content

Conversation

@strogiyotec
Copy link

@strogiyotec strogiyotec commented Jul 8, 2020

Good day.

I just started using cassandra and found that it creates history folder in my home directory. I personally don't like it and all my folders follow XDG standard. I found stackoverflow question related to it which says that it's not possible to do without configuring source code of cqlsh.py.

In this pull request I added a feature to choose history directory using environment variable. The name of variable is CQL_HISTORY. Why ? Because postgres and node-repl use approximately the same convention (NODE_REPL_HISTORY,PSQL_HISTORY). If you want I can change the name.

Please review this idea I think a lot of people would like to have it (P.S I am not sure if this information should be added to README if so then I can do it )

@smiklosovic smiklosovic added the missing-ticket missing ticket in Cassandra JIRA label Mar 16, 2022
@smiklosovic
Copy link
Contributor

@bschoening something for you to refresh?

@smiklosovic smiklosovic removed the missing-ticket missing ticket in Cassandra JIRA label Mar 17, 2022
@smiklosovic smiklosovic changed the title allow users to change cqlsh history location using env variable CASSANDRA-17488 allow users to change cqlsh history location using env variable Mar 17, 2022
@smiklosovic
Copy link
Contributor

work is being done here: https://issues.apache.org/jira/browse/CASSANDRA-17448

@smiklosovic
Copy link
Contributor

closing if favour of #1508

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants