-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: programs.bash.historyFile = "${config.xdg.dataHome}/bash/bash_history";
doesn't create the file
#5351
Comments
programs.bash.historyFile = "${config.xdg.dataHome}/bash/bash_history";
doesn't change the location programs.bash.historyFile = "${config.xdg.dataHome}/bash/bash_history";
doesn't change the file location
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 |
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 |
programs.bash.historyFile = "${config.xdg.dataHome}/bash/bash_history";
doesn't change the file location programs.bash.historyFile = "${config.xdg.dataHome}/bash/bash_history";
doesn't create the file
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
The text was updated successfully, but these errors were encountered: