nix-config/users/tacocat/shell/default.nix
2023-11-01 00:06:04 -04:00

34 lines
628 B
Nix

{lib, ...}:
{
imports = [
./zsh.nix
./bash.nix
];
programs.starship = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
settings = {
add_newline = false;
format = lib.concatStrings [
# "$line_break"
"$shlvl"
"$directory"
"$git_branch"
"$git_commit"
"$git_state"
"$git_status"
"$package"
"$status"
"$character"
];
scan_timeout = 10;
# character = {
# success_symbol = "[%](bold green)";
# error_symbol = "[%](bold red)";
# };
};
};
}