nix-config/users/tacocat/shell/default.nix

34 lines
628 B
Nix
Raw Normal View History

2023-11-01 04:06:04 +00:00
{lib, ...}:
2023-10-21 00:49:53 +00:00
{
imports = [
./zsh.nix
./bash.nix
];
2023-11-01 04:06:04 +00:00
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)";
# };
};
};
2023-10-21 00:49:53 +00:00
}