2024-07-03 07:15:39 +01:00
|
|
|
|
{...}: {
|
|
|
|
|
programs.starship = {
|
|
|
|
|
enable = true;
|
2024-07-16 08:30:56 +01:00
|
|
|
|
enableTransience = false;
|
2024-07-03 07:15:39 +01:00
|
|
|
|
settings = {
|
2024-07-16 08:30:56 +01:00
|
|
|
|
add_newline = true;
|
2024-07-12 06:45:57 +01:00
|
|
|
|
c.symbol = " ";
|
2024-07-03 07:15:39 +01:00
|
|
|
|
character = {
|
2024-07-16 08:30:56 +01:00
|
|
|
|
success_symbol = "[>](bold green)";
|
|
|
|
|
error_symbol = "[>](bold red)";
|
2024-07-03 07:15:39 +01:00
|
|
|
|
};
|
|
|
|
|
command_timeout = 2000;
|
|
|
|
|
directory = {
|
|
|
|
|
truncation_length = 2;
|
|
|
|
|
fish_style_pwd_dir_length = 1;
|
|
|
|
|
truncate_to_repo = false;
|
|
|
|
|
};
|
|
|
|
|
direnv = {disabled = false;};
|
|
|
|
|
git_branch = {
|
|
|
|
|
only_attached = true;
|
|
|
|
|
ignore_branches = ["master" "main"];
|
|
|
|
|
};
|
|
|
|
|
git_commit = {
|
|
|
|
|
format = "[ $hash | $tag]($style) ";
|
|
|
|
|
tag_symbol = " ";
|
|
|
|
|
tag_disabled = false;
|
|
|
|
|
};
|
|
|
|
|
git_metrics = {disabled = false;};
|
|
|
|
|
git_status = {
|
|
|
|
|
stashed = " ";
|
|
|
|
|
ahead = " ";
|
|
|
|
|
behind = " ";
|
|
|
|
|
up_to_date = "";
|
|
|
|
|
diverged = " ";
|
|
|
|
|
conflicted = " ";
|
|
|
|
|
deleted = " ";
|
|
|
|
|
renamed = " ";
|
|
|
|
|
modified = " ";
|
|
|
|
|
staged = " ";
|
|
|
|
|
untracked = " ";
|
|
|
|
|
typechanged = " ";
|
|
|
|
|
};
|
|
|
|
|
hostname = {
|
|
|
|
|
ssh_only = false;
|
|
|
|
|
ssh_symbol = " ";
|
|
|
|
|
};
|
|
|
|
|
jobs = {symbol = " ";};
|
|
|
|
|
line_break = {disabled = false;};
|
|
|
|
|
localip = {disabled = false;};
|
|
|
|
|
memory_usage = {disabled = false;};
|
|
|
|
|
os = {
|
|
|
|
|
disabled = false;
|
|
|
|
|
format = "on [$symbol]($style) ";
|
|
|
|
|
};
|
|
|
|
|
python.python_binary = "python3";
|
|
|
|
|
shell = {
|
|
|
|
|
disabled = false;
|
2024-07-16 09:42:54 +01:00
|
|
|
|
format = "using [$indicator]($style)";
|
|
|
|
|
bash_indicator = " ";
|
|
|
|
|
zsh_indicator = " ";
|
|
|
|
|
fish_indicator = " ";
|
|
|
|
|
powershell_indicator = " ";
|
|
|
|
|
cmd_indicator = " ";
|
|
|
|
|
nu_indicator = " ν ";
|
|
|
|
|
unknown_indicator = " ";
|
2024-07-03 07:15:39 +01:00
|
|
|
|
};
|
|
|
|
|
status = {
|
|
|
|
|
disabled = false;
|
|
|
|
|
map_symbol = true;
|
|
|
|
|
pipestatus = true;
|
|
|
|
|
};
|
|
|
|
|
sudo = {disabled = false;};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|