reciproka-ops/profiles/bash.nix

15 lines
349 B
Nix
Raw Permalink Normal View History

2021-10-07 02:13:48 +00:00
# Configuration common to all JFDIC servers
2022-08-15 07:32:25 +00:00
{config, ...}: {
2021-10-07 02:13:48 +00:00
# Program defaults for all hosts
programs.bash = {
interactiveShellInit = ''
export TERM="xterm-256color"
test -r ~/.dir_colors && eval $(dircolors ~/.dir_colors)
'';
promptInit = ''
eval "$(starship init bash)"
'';
vteIntegration = true;
};
}