mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-14 08:32:39 +02:00
792a7e7bfc
feat: change darwin's default shell to nushell feat: update starship's config
25 lines
577 B
Nix
25 lines
577 B
Nix
{ config, ... }: {
|
||
programs.starship = {
|
||
enable = true;
|
||
|
||
enableBashIntegration = 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 = "🅶 ️";
|
||
};
|
||
};
|
||
};
|
||
}
|