nixos-config/home-manager/shell/starship.nix
2022-01-06 21:14:02 -05:00

24 lines
489 B
Nix

{ ... }:
{
programs.starship.enable = true;
programs.starship.settings = {
add_newline = true;
character =
let char = ""; charVi = "";
in {
success_symbol = "[${char}](bold green)";
error_symbol = "[${char}](bold red)";
vicmd_symbol = "[${charVi}](bold green)";
};
directory = {
truncation_length = 6;
truncation_symbol = " /";
read_only = " 🔒";
read_only_style = "cyan";
};
};
}