Open mobsenpai opened 2 weeks ago
I feel like this is more of a limitation of bash than anything else. I couldn't find any documentation that says that it doesn't create the necessary subdirectories, but I also did not find any documentation saying that it does create the directories.
One workaround is that you could add a mkdir -p ${config.xdg.dataHome}/bash
to your programs.bash.initExtra
That maybe so but that's just too hacky for me. Do you know how other users use it cuz it is an actual option in the home-manager?
It does look like others are using it in the same way that you are: https://github.com/search?utf8=%E2%9C%93&q=bash.historyFile&type=code
I asked other repo owners and they also don't see the files created, but they were using other shells so it didnt matter. But this is clearly an issue.
Are you following the right branch?
Is there an existing issue for this?
Issue description
Basically setting the bash history file location doesn't create the required files leaving bash with no history files to write the history into.
Maintainer CC
@rycee
System information