flox format

This commit is contained in:
death916 2025-05-30 03:47:41 -07:00
parent 126fce3b7b
commit 443eebbbf3

View file

@ -86,11 +86,10 @@ in
programs.starship = { programs.starship = {
enable = true; enable = true;
settings = { settings = {
add_newline = false; add_newline = false; # Keep this
aws.disabled = true; # All other top-level settings like aws.disabled can remain or be commented for test
gcloud.disabled = true;
line_break.disabled = true;
# Keep the conda definition if you use conda
conda = { conda = {
truncation_length = 1; truncation_length = 1;
format = ''[$symbol$environment]($style) ''; format = ''[$symbol$environment]($style) '';
@ -102,13 +101,14 @@ in
env_var.flox_env_display = { env_var.flox_env_display = {
variable = "FLOX_PROMPT_ENVIRONMENTS"; variable = "FLOX_PROMPT_ENVIRONMENTS";
format = "via [$env_value]($style) "; format = "via [$env_value]($style) ";
style = "bold blue"; style = "bold blue";
default = "VAR_NOT_FOUND"; # ADDED FOR DEBUGGING default = "VAR_NOT_FOUND"; # Keep this for debugging
disabled = false; disabled = false;
}; };
format = ''$directory $git_branch $conda$env_var_flox_env_display$nix_shell$cmd_duration$status$character''; # SIMPLIFIED MAIN FORMAT STRING
format = ''TEST_PROMPT: $env_var_flox_env_display END_TEST'';
}; };
}; };