mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-07 02:06:34 +05:30
update starship config
This commit is contained in:
@ -2,20 +2,40 @@
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
format = ''[ ](bold green)$directory(bold blue)$git_branch$git_status[❯](bold yellow)[❯](bold purple)[❯](bold blue) '';
|
||||
format = ''$os$hostname$directory$rust$golang$solidity$nodejs(bold blue)$git_branch$git_status[❯](bold yellow)[❯](bold purple)[❯](bold blue) '';
|
||||
scan_timeout = 60;
|
||||
add_newline = false;
|
||||
|
||||
line_break.disabled = true;
|
||||
directory.style = "bold blue";
|
||||
|
||||
cmd_duration.format = "[$duration]($style) ";
|
||||
os = {
|
||||
format = "[$symbol ]($style)";
|
||||
style = "bold green";
|
||||
disabled = false;
|
||||
symbols.NixOS = "";
|
||||
};
|
||||
directory.style = "bold blue";
|
||||
git_branch.format = "[$symbol$branch]($style) ";
|
||||
nodejs.format = "[$symbol($version )]($style)";
|
||||
rust.format = "[$symbol($version )]($style)";
|
||||
hostname = {
|
||||
ssh_only = false;
|
||||
format = "[$ssh_symbol$hostname]($style) ";
|
||||
style = "bold green";
|
||||
disabled = false;
|
||||
};
|
||||
rust = {
|
||||
format = "[$symbol]($style)";
|
||||
symbol = " ";
|
||||
};
|
||||
golang = {
|
||||
format = "[$symbol($version )]($style)";
|
||||
symbol = " ";
|
||||
format = "[$symbol]($style)";
|
||||
symbol = "<EFBFBD> ";
|
||||
};
|
||||
solidity = {
|
||||
format = "[$symbol]($style)";
|
||||
symbol = "<EFBFBD> ";
|
||||
};
|
||||
nodejs = {
|
||||
format = "[$symbol]($style)";
|
||||
symbol = "<EFBFBD> ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user