NixOS-Configs/home/common/bash.nix
2024-06-30 09:47:45 -05:00

38 lines
1.2 KiB
Nix

{
config,
pkgs,
...
}: {
imports = [./bash_complition.nix];
home.file.".bash_local".source = files/bash/bash_local;
home.file.".bash_aliases".source = files/bash/bash_aliases;
home.file.".bash_functions".source = files/bash/bash_functions;
home.file.".bash_hosts".source = files/bash/bash_hosts;
home.file.".bash_keychain".source = files/bash/bash_keychain;
home.file.".bash_logout".source = files/bash/bash_logout;
home.file.".bash_motd".source = files/bash/bash_motd;
home.file.".bash_motd_ownscript.sh".source = files/bash/bash_motd_ownscript.sh;
home.file.".bash_profile".source = files/bash/bash_profile;
home.file.".bashrc".source = files/bash/bashrc;
home.file.".bash_ssh".source = files/bash/bash_ssh;
home.file.".myapps".source = files/bash/myapps;
programs.readline = {
enable = true;
bindings = {
"\\e[A" = "history-search-backward";
"\\e[B" = "history-search-forward";
};
extraConfig = ''
set input-meta on
set output-meta on
set colored-stats On
set completion-ignore-case On
set completion-prefix-display-length 3
set mark-symlinked-directories On
set show-all-if-ambiguous On
set show-all-if-unmodified On
set visible-stats On
'';
};
}