fix a bunch o things
Signed-off-by: Christoph Schmatzler <christoph@schmatzler.com>
This commit is contained in:
@@ -26,6 +26,6 @@
|
||||
};
|
||||
|
||||
home.shellAliases = {
|
||||
v = "neovim";
|
||||
}:
|
||||
v = "nvim";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,33 +1,24 @@
|
||||
{lib, ...}: {
|
||||
{
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
settings = {
|
||||
add_newline = true;
|
||||
command_timeout = 750;
|
||||
|
||||
format = lib.concatStrings [
|
||||
"$directory"
|
||||
"$git_branch"
|
||||
"$git_status"
|
||||
"$git_metrics"
|
||||
"$line_break"
|
||||
"$character"
|
||||
];
|
||||
|
||||
command_timeout = 200;
|
||||
format = "[$directory$git_branch]($style)$character";
|
||||
character = {
|
||||
success_symbol = "[❯](bold green)";
|
||||
error_symbol = "[❯](bold red)";
|
||||
error_symbol = "[✗](bold #e64553)";
|
||||
success_symbol = "[❯](bold #40a02b)[❯](bold #df8e1d)[❯](bold #dc8a78)";
|
||||
};
|
||||
directory = {
|
||||
truncation_length = 2;
|
||||
truncation_symbol = "…/";
|
||||
repo_root_style = "bold cyan";
|
||||
repo_root_format = "[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) ";
|
||||
};
|
||||
|
||||
git_branch = {
|
||||
format = " [ $branch]($style) ";
|
||||
};
|
||||
|
||||
git_metrics = {
|
||||
disabled = false;
|
||||
added_style = "bold green";
|
||||
format = "[+$added]($added_style)/[-$deleted]($deleted_style) ";
|
||||
format = "[$branch]($style) ";
|
||||
style = "bold";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user