Skip to content

Changed default location of completer.hist#245

Open
b3yond wants to merge 6 commits intoorakaro:masterfrom
b3yond:master
Open

Changed default location of completer.hist#245
b3yond wants to merge 6 commits intoorakaro:masterfrom
b3yond:master

Conversation

@b3yond
Copy link
Contributor

@b3yond b3yond commented Sep 17, 2017

As discussed in #231, I changed the default value of the HISTORY_FILENAME config key to "", and wrote a small function to check if the value is empty, and replacing it with "/home/$USER/.local/share/rainbow.hist" instead.

This should remove a lot of unnecessary clutter from user's working directorys, as the completer.hist file was a bit annoying, and also unifies the history in one place, leading to a consistent history.

@b3yond
Copy link
Contributor Author

b3yond commented Sep 17, 2017

This seems to conflict with #233

My way has the advantage, that the file is hidden away by default, but the place stays still easily configurable.

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.

1 participant