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

33 lines
630 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)";
# };
};
};
}