Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Redis-cli history file for redis-cli is hardwired #831

Closed
antirez opened this Issue Dec 14, 2012 · 4 comments

Comments

Projects
None yet
4 participants
Owner

antirez commented Dec 14, 2012

From the google group:

 The history file for redis-cli is hardwired to be
  ~/rediscli_history.

   Many tools allow this to be varied via an environmental
  variable, for example "less" and "mysql" using:

   $LESSHISTFILE
   $MYSQL_HISTFILE

   I would like to suggest that the redis-cli tool allows
  a similar degree of flexibility.

   I'm happy to knock-up a fork/patch if it would be accepted,
  I imagine the main issue is agreeing on the name of the variable
  to be used.  I'd propose "REDISCLI_HISTFILE".

Steve
Contributor

charsyam commented Feb 1, 2013

@antirez Do you have any interests in this patch? :)

Owner

antirez commented Feb 5, 2013

Sure, reviewing and merging in the next days, in my TODO list now.

mecking commented Aug 11, 2013

This looks correct.

bump

chooper added a commit to chooper/redis that referenced this issue Nov 11, 2014

@antirez antirez closed this Dec 10, 2014

antirez added a commit that referenced this issue Dec 10, 2014

Merge pull request #2133 from chooper/histfile-override
override histfile from env - fixes #831 and copies #833
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment