2024-02-04 07:14:04 +00:00
|
|
|
|
{...}: {
|
|
|
|
|
programs.starship = {
|
|
|
|
|
enable = true;
|
|
|
|
|
enableTransience = true;
|
|
|
|
|
settings = {
|
|
|
|
|
c = {symbol = " ";};
|
|
|
|
|
command_timeout = 1000;
|
|
|
|
|
container = {symbol = " ";};
|
|
|
|
|
add_newline = false;
|
|
|
|
|
character = {
|
|
|
|
|
success_symbol = "[!](bold green)";
|
|
|
|
|
error_symbol = "[?](bold red)";
|
|
|
|
|
};
|
|
|
|
|
directory = {
|
|
|
|
|
truncation_length = 2;
|
|
|
|
|
fish_style_pwd_dir_length = 1;
|
|
|
|
|
read_only = " ";
|
|
|
|
|
truncate_to_repo = false;
|
|
|
|
|
};
|
|
|
|
|
line_break.disabled = false;
|
|
|
|
|
git_branch = {
|
|
|
|
|
symbol = " ";
|
|
|
|
|
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 = " ";
|
|
|
|
|
};
|
|
|
|
|
golang = {symbol = " ";};
|
|
|
|
|
guix_shell = {symbol = " ";};
|
|
|
|
|
haskell = {symbol = " ";};
|
|
|
|
|
hostname = {
|
|
|
|
|
ssh_only = true;
|
|
|
|
|
ssh_symbol = " ";
|
|
|
|
|
};
|
|
|
|
|
java = {symbol = " ";};
|
|
|
|
|
localip = {disabled = false;};
|
|
|
|
|
lua = {symbol = " ";};
|
|
|
|
|
memory_usage = {
|
|
|
|
|
disabled = false;
|
|
|
|
|
symbol = " ";
|
|
|
|
|
};
|
|
|
|
|
nix_shell.symbol = " ";
|
|
|
|
|
os = {
|
|
|
|
|
disabled = false;
|
|
|
|
|
format = "on [$symbol]($style) ";
|
|
|
|
|
style = "bold blue";
|
|
|
|
|
symbols = {
|
|
|
|
|
Alpine = " ";
|
|
|
|
|
Android = " ";
|
|
|
|
|
Arch = " ";
|
|
|
|
|
CentOS = " ";
|
|
|
|
|
Debian = " ";
|
|
|
|
|
EndeavourOS = " ";
|
|
|
|
|
Fedora = " ";
|
|
|
|
|
FreeBSD = " ";
|
|
|
|
|
Gentoo = " ";
|
|
|
|
|
Illumos = " ";
|
|
|
|
|
Linux = " ";
|
|
|
|
|
Macos = " ";
|
|
|
|
|
Manjaro = " ";
|
|
|
|
|
Mint = " ";
|
|
|
|
|
NixOS = " ";
|
|
|
|
|
OpenBSD = " ";
|
|
|
|
|
openSUSE = " ";
|
|
|
|
|
Pop = " ";
|
|
|
|
|
Raspbian = " ";
|
|
|
|
|
Redhat = " ";
|
|
|
|
|
RedHatEnterprise = " ";
|
|
|
|
|
Solus = " ";
|
|
|
|
|
SUSE = " ";
|
|
|
|
|
Ubuntu = " ";
|
|
|
|
|
Unknown = " ";
|
|
|
|
|
Windows = " ";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
package = {symbol = " ";};
|
|
|
|
|
python = {
|
|
|
|
|
symbol = " ";
|
|
|
|
|
python_binary = "python3";
|
|
|
|
|
};
|
|
|
|
|
rust = {symbol = " ";};
|
|
|
|
|
shell = {
|
|
|
|
|
disabled = false;
|
|
|
|
|
format = "using [$indicator ]($style)";
|
|
|
|
|
bash_indicator = "#";
|
2024-02-11 06:54:07 +00:00
|
|
|
|
fish_indicator = " ";
|
2024-02-04 07:14:04 +00:00
|
|
|
|
nu_indicator = "ν";
|
2024-02-11 06:54:07 +00:00
|
|
|
|
zsh_indicator = "z";
|
2024-02-04 07:14:04 +00:00
|
|
|
|
unknown_indicator = "?";
|
|
|
|
|
};
|
|
|
|
|
sudo = {
|
|
|
|
|
disabled = false;
|
|
|
|
|
symbol = " ";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|