feat: starship integration and theme change

theme of starship changed to pure preset
integrated starship into nushell
This commit is contained in:
Zhongheng Liu 2024-12-07 19:25:24 +02:00
commit df966578e4
Signed by: steven
GPG key ID: 805A28B071DAD84B
2 changed files with 54 additions and 0 deletions

View file

@ -15,10 +15,12 @@ in
};
};
config = mkIf cfg.enable {
myShells.prompts.starship.confPath = ./presets/pure-direnv.toml;
programs.starship = {
enable = true;
enableZshIntegration = config.myShells.zsh.enable;
enableFishIntegration = config.myShells.fish.enable;
enableNushellIntegration = config.myShells.nushell.enable;
settings = builtins.fromTOML (builtins.readFile cfg.confPath);
};
};