2021-12-06 22:35:29 +00:00
|
|
|
{
|
|
|
|
programs.starship = {
|
|
|
|
enable = true;
|
|
|
|
enableFishIntegration = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
add_newline = true;
|
|
|
|
|
|
|
|
cmd_duration = {
|
|
|
|
format = "\\[[ $duration]($style)\\]";
|
|
|
|
};
|
|
|
|
|
|
|
|
docker_context = {
|
|
|
|
symbol = " ";
|
|
|
|
format = "\\[[$symbol$context]($style)\\]";
|
|
|
|
};
|
|
|
|
|
|
|
|
elixir = {
|
|
|
|
symbol = " ";
|
|
|
|
format = "\\[[$symbol($version \\(OTP $otp_version\\))]($style)\\]";
|
|
|
|
};
|
|
|
|
|
|
|
|
erlang = {
|
|
|
|
symbol = " ";
|
|
|
|
format = "\\[[$symbol($version)]($style)\\]";
|
|
|
|
};
|
|
|
|
|
|
|
|
git_branch = {
|
|
|
|
symbol = " ";
|
|
|
|
format = "\\[[$symbol$branch]($style)\\]";
|
|
|
|
};
|
|
|
|
|
2022-08-01 13:08:51 +00:00
|
|
|
hostname = {
|
|
|
|
ssh_only = true;
|
|
|
|
ssh_symbol = " ";
|
|
|
|
format = "\\[[$ssh_symbol$hostname]($style)\\]";
|
|
|
|
};
|
|
|
|
|
2021-12-06 22:35:29 +00:00
|
|
|
java = {
|
|
|
|
symbol = " ";
|
|
|
|
format = "\\[[$symbol($version)]($style)\\]";
|
|
|
|
};
|
|
|
|
|
|
|
|
nix_shell = {
|
2022-09-21 14:03:23 +00:00
|
|
|
symbol = " ";
|
2021-12-06 22:35:29 +00:00
|
|
|
format = "\\[[$symbol$state( \\($name\\))]($style)\\]";
|
|
|
|
};
|
|
|
|
|
|
|
|
nodejs = {
|
|
|
|
symbol = " ";
|
|
|
|
format = "\\[[$symbol($version)]($style)\\]";
|
|
|
|
};
|
|
|
|
|
2023-10-20 21:20:12 +00:00
|
|
|
os = {
|
|
|
|
disabled = true;
|
|
|
|
format = "$symbol";
|
|
|
|
|
|
|
|
symbols = {
|
|
|
|
Macos = " ";
|
|
|
|
NixOS = " ";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-12-06 22:35:29 +00:00
|
|
|
package = {
|
2023-07-17 17:43:29 +00:00
|
|
|
symbol = " ";
|
2021-12-06 22:35:29 +00:00
|
|
|
format = "\\[[$symbol$version]($style)\\]";
|
|
|
|
};
|
|
|
|
|
|
|
|
php = {
|
2023-07-17 17:43:29 +00:00
|
|
|
symbol = " ";
|
2021-12-06 22:35:29 +00:00
|
|
|
format = "\\[[$symbol($version)]($style)\\]";
|
|
|
|
};
|
|
|
|
|
|
|
|
python = {
|
|
|
|
symbol = " ";
|
|
|
|
format = "\\[[\${symbol}\${pyenv_prefix}(\${version})(\\($virtualenv\\))]($style)\\]";
|
|
|
|
};
|
|
|
|
|
|
|
|
ruby = {
|
|
|
|
symbol = " ";
|
|
|
|
format = "\\[[$symbol($version)]($style)\\]";
|
|
|
|
};
|
|
|
|
|
2021-12-08 20:48:41 +00:00
|
|
|
status = {
|
|
|
|
disabled = false;
|
|
|
|
symbol = " ";
|
2022-04-14 14:39:13 +00:00
|
|
|
success_symbol = "";
|
2021-12-08 20:48:41 +00:00
|
|
|
not_executable_symbol = " ";
|
|
|
|
not_found_symbol = " ";
|
|
|
|
sigint_symbol = " ";
|
|
|
|
signal_symbol = " ";
|
|
|
|
map_symbol = true;
|
|
|
|
};
|
|
|
|
|
2021-12-06 22:35:29 +00:00
|
|
|
time = {
|
|
|
|
format = "\\[[$time]($style)\\]";
|
|
|
|
};
|
2022-08-01 13:08:51 +00:00
|
|
|
|
|
|
|
username = {
|
|
|
|
format = "\\[[ $user]($style)\\]";
|
|
|
|
};
|
2021-12-06 22:35:29 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|