nixos-config/common/home-manager/shell/starship.nix

24 lines
489 B
Nix
Raw Normal View History

2022-01-06 21:14:02 -05:00
{ ... }:
{
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";
};
};
}