init
This commit is contained in:
commit
498f3050d5
145 changed files with 2964 additions and 0 deletions
26
home/terminal/shell/starship.nix
Normal file
26
home/terminal/shell/starship.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{config, ...}: {
|
||||
home.sessionVariables.STARSHIP_CACHE = "${config.xdg.cacheHome}/starship";
|
||||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
settings = {
|
||||
character = {
|
||||
success_symbol = "[›](bold green)";
|
||||
error_symbol = "[›](bold red)";
|
||||
};
|
||||
|
||||
git_status = {
|
||||
deleted = "✗";
|
||||
modified = "✶";
|
||||
staged = "✓";
|
||||
stashed = "≡";
|
||||
};
|
||||
|
||||
nix_shell = {
|
||||
symbol = " ";
|
||||
heuristic = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue