microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.78k stars 5.37k forks source link

redis-cli up arrow not working for historical commands #536

Open OfirYemini opened 7 years ago

OfirYemini commented 7 years ago
  1. connect to redis via the redis-cli.exe like so: redis-cli -h [serverIp] -p [server port] -c

  2. execute some command, for example: set mykey hello

  3. press the up arrow

expected: command history should be shown actual: nothing happen, no history is saved

this is a minor but really annoying issue, please fix

acexy commented 7 years ago

yes ,I found that the history version will generate a .rediscli_history file under the user directory, which records historical command records, but the new version does not read the file and does not seem to write a similar file

OfirYemini commented 6 years ago

any news with this one?