mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
f06a43dca0
Starship has an advanced, experimental feature where fancy stuff in the prompt can be replaced with something more simple after the command is ran. This is very helpful for copy and pasting shell history somewhere else. docs: https://starship.rs/advanced-config/#transientprompt-and-transientrightprompt-in-fish Fish is currently the only shell as far as I can tell that both home-manager and starship support for this feature. Since the function has to be called after starship is loaded, this seems like the best place to put it. format
5 lines
172 B
Nix
5 lines
172 B
Nix
{
|
|
starship-settings = ./settings.nix;
|
|
starship-fish-with-transience = ./fish_with_transience.nix;
|
|
starship-fish-without-transience = ./fish_without_transience.nix;
|
|
}
|