NixOS-Configs/home/common/bash.nix
2026-05-16 22:36:47 -05:00

37 lines
1.3 KiB
Nix

{ config, pkgs, lib, ... }:
{
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
'';
};
}