1
0
Fork 0
dotfiles/programs/starship.nix

88 lines
1.8 KiB
Nix
Raw Normal View History

2022-03-02 22:31:45 +00:00
{ pkgs, ... }:
2021-12-06 22:35:29 +00:00
{
programs.starship = {
enable = true;
2022-03-02 22:31:45 +00:00
package = pkgs.pkgs-x86.starship;
2021-12-06 22:35:29 +00:00
enableFishIntegration = true;
settings = {
add_newline = true;
cmd_duration = {
format = "\\[[ $duration]($style)\\]";
};
docker_context = {
symbol = " ";
format = "\\[[$symbol$context]($style)\\]";
};
elixir = {
symbol = " ";
format = "\\[[$symbol($version \\(OTP $otp_version\\))]($style)\\]";
};
erlang = {
symbol = " ";
format = "\\[[$symbol($version)]($style)\\]";
};
git_branch = {
symbol = " ";
format = "\\[[$symbol$branch]($style)\\]";
};
java = {
symbol = " ";
format = "\\[[$symbol($version)]($style)\\]";
};
nix_shell = {
symbol = " ";
format = "\\[[$symbol$state( \\($name\\))]($style)\\]";
};
nodejs = {
symbol = " ";
format = "\\[[$symbol($version)]($style)\\]";
};
package = {
symbol = " ";
format = "\\[[$symbol$version]($style)\\]";
};
php = {
symbol = " ";
format = "\\[[$symbol($version)]($style)\\]";
};
python = {
symbol = " ";
format = "\\[[\${symbol}\${pyenv_prefix}(\${version})(\\($virtualenv\\))]($style)\\]";
};
ruby = {
symbol = " ";
format = "\\[[$symbol($version)]($style)\\]";
};
2021-12-08 20:48:41 +00:00
status = {
disabled = false;
symbol = " ";
success_symbol = " ";
not_executable_symbol = " ";
not_found_symbol = " ";
sigint_symbol = " ";
signal_symbol = " ";
map_symbol = true;
};
2021-12-06 22:35:29 +00:00
time = {
format = "\\[[$time]($style)\\]";
};
};
};
}