mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-03 19:48:24 +08:00
Reorganize home modules into logical categories (#100)
This commit is contained in:
parent
995d47db17
commit
d64bacdb90
39 changed files with 44 additions and 43 deletions
15
modules/home/cli/bash.nix
Normal file
15
modules/home/cli/bash.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
enableVteIntegration = true; # Terminal integration for working directory tracking
|
||||
historyControl = [ "ignoredups" "ignorespace" ]; # Don't save duplicate commands or commands starting with space
|
||||
historySize = 10000; # Keep more commands in memory for better recall
|
||||
historyFileSize = 100000; # Persist more commands to disk for long-term history
|
||||
shellOptions = [
|
||||
"histappend" # Append to history file instead of overwriting
|
||||
"checkwinsize" # Check window size after each command
|
||||
"cdspell" # Correct minor spelling errors in cd commands
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue