nichts/packages/shell/starship.nix

39 lines
810 B
Nix
Raw Normal View History

2024-11-01 15:54:20 +01:00
{
2024-11-02 12:38:44 +01:00
add_newline = false;
command_timeout = 2000;
2025-04-09 22:16:45 +02:00
format = "$hostname$username$directory$shell$nix_shell$jobs$character";
scan_timeout = 1;
2024-11-02 12:38:44 +01:00
character = {
2025-04-09 22:16:45 +02:00
error_symbol = "[λ](bold red)";
success_symbol = "[λ](bold green)";
2024-11-02 12:38:44 +01:00
};
directory = {
2025-04-09 22:16:45 +02:00
format = "[](bold green) [$path]($style) ";
2024-11-02 12:38:44 +01:00
truncation_length = 2;
};
2025-04-09 22:16:45 +02:00
direnv = {
disabled = false;
2024-11-02 12:38:44 +01:00
};
git_status = {
disabled = true;
2024-11-02 12:38:44 +01:00
};
hostname = {
disabled = false;
format = "@[$hostname](bold blue) ";
ssh_only = true;
};
c.symbol = "[ ](black)";
lua.symbol = "[ ](blue) ";
nix_shell.symbol = "[󱄅 ](blue) ";
nodejs.symbol = "[󰎙 ](yellow)";
package.symbol = "📦 ";
python.symbol = "[ ](blue) ";
rust.symbol = "[ ](red) ";
username.format = "[$user]($style) in ";
2024-11-01 15:54:20 +01:00
}