mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-23 16:38:26 +02:00
26 lines
600 B
Nix
26 lines
600 B
Nix
{...}: {
|
||
programs.starship = {
|
||
enable = true;
|
||
|
||
enableBashIntegration = true;
|
||
enableZshIntegration = true;
|
||
enableNushellIntegration = true;
|
||
|
||
settings = {
|
||
character = {
|
||
success_symbol = "[›](bold green)";
|
||
error_symbol = "[›](bold red)";
|
||
};
|
||
aws = {
|
||
symbol = "🅰 ";
|
||
};
|
||
gcloud = {
|
||
# do not show the account/project's info
|
||
# to avoid the leak of sensitive information when sharing the terminal
|
||
format = "on [$symbol$active(\($region\))]($style) ";
|
||
symbol = "🅶 ️";
|
||
};
|
||
};
|
||
};
|
||
}
|