starship prompt update
This commit is contained in:
parent
66230f34c4
commit
e1ac43e6c0
2 changed files with 555 additions and 11 deletions
|
|
@ -1,16 +1,16 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
options.speccon18.hm.starship.enable = lib.mkEnableOption "Enable Starship";
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
# Configuration written to ~/.config/starship.toml
|
||||
settings = {
|
||||
add_newline = false;
|
||||
|
||||
character = {
|
||||
success_symbol = "[➜](bold green)";
|
||||
error_symbol = "[➜](bold red)";
|
||||
};
|
||||
{
|
||||
options.speccon18.hm.starship.enable = lib.mkEnableOption "Enable Starship";
|
||||
|
||||
config = lib.mkIf config.speccon18.hm.starship.enable {
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
enableFishIntegration = false;
|
||||
settings = builtins.fromTOML (builtins.readFile ./starship.toml);
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue