[nix] Add HISTTIMEFORMAT for proper bash_history

This commit is contained in:
Sebastian Schulze 2023-04-17 08:14:17 +02:00
parent 9ebc9f5f05
commit af33f50fe3
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
1 changed files with 3 additions and 0 deletions

View File

@ -322,6 +322,9 @@ in
enable = true;
enableCompletion = true;
historyFileSize = 80000;
sessionVariables = {
HISTTIMEFORMAT = "%Y-%m-%d-%H%M%S ";
};
profileExtra = ''
if [ $(/run/current-system/sw/bin/tty) == "/dev/tty1" ]; then
exec sway-run