Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17448

allow users to change cqlsh history location using env variable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.1-alpha1, 4.1
    • CQL/Interpreter
    • None

    Description

      User on GH sent:

      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.

      Attachments

        Issue Links

          Activity

            People

              smiklosovic Stefan Miklosovic
              smiklosovic Stefan Miklosovic
              Stefan Miklosovic
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m