Skip to content

Commit

Permalink
Init Starship prompt config
Browse files Browse the repository at this point in the history
  • Loading branch information
foofrog committed Jun 24, 2024
1 parent b31938d commit f4e568c
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions modules/environment/users/foo/home-depot/programs/nushell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,46 @@ _: {
enable = true;

enableNushellIntegration = true;

settings = {
sudo.disabled = true;

character = {
success_symbol = " [╰─](bold cyan)[λ](bold green)";
error_symbol = " [╰─](bold cyan)[Χ](bold red)";
};

username = {
format = " [╭─$user]($style)@";
show_always = true;
style_root = "bold red";
style_user = "bold cyan";
};

hostname = {
disabled = false;
format = "[$hostname]($style) in ";
ssh_only = false;
style = "bold blue";
trim_at = "-";
};

directory = {
style = "purple";
truncate_to_repo = true;
truncation_length = 0;
truncation_symbol = "repo: ";
};

git_commit.tag_symbol = " tag ";
git_status = {
ahead = ">";
behind = "<";
diverged = "<>";
renamed = "r";
deleted = "x";
};
};
};

# carapace = {
Expand Down

0 comments on commit f4e568c

Please sign in to comment.