mio-ops/profiles/bash.nix

15 lines
346 B
Nix
Raw Normal View History

# Configuration common to all my servers
2022-03-07 14:26:15 +00:00
{config, ...}: {
# 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;
};
}