[nix] Add HISTTIMEFORMAT for proper bash_history
This commit is contained in:
parent
9ebc9f5f05
commit
af33f50fe3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue