Browse Source

starship

dev_01_initial
hblobner 3 years ago
parent
commit
95e07fabda
  1. 2
      home-manager/hblobner_at_devvie.nix
  2. 15
      home-manager/modules/starship.nix

2
home-manager/hblobner_at_devvie.nix

@ -1,7 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = [ ./modules/starship.nix ] imports = [ ./modules/starship.nix ];
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
# paths it should manage. # paths it should manage.
home.username = "hblobner"; home.username = "hblobner";

15
home-manager/modules/starship.nix

@ -4,5 +4,20 @@
programs.starship = { programs.starship = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
settings = {
add_newline = true;
scan_timeout = 10;
character = {
success_symbol = "[->](bold green)";
};
directory = {
truncation_length = 100;
tuncate_to_repo = false;
};
};
}; };
} }

Loading…
Cancel
Save