Dushistov / sdcv

https://dushistov.github.io/sdcv/
GNU General Public License v2.0
294 stars 42 forks source link

Added $SDCV_HISTFILE to set history file #44

Closed nickeb96 closed 6 years ago

nickeb96 commented 6 years ago

sdcv will check if $SDCV_HISTFILE is set and use that as the history file, otherwise it will use the default "${HOME}/.sdcv_history".

Fixes #15

nickeb96 commented 6 years ago

I wrote it like that to make as few modifications to the original as possible. However I agree that the history file name should either be a field of the class or come from a helper function.