mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-11 04:48:25 -07:00
ship
This commit is contained in:
parent
2c3375c85b
commit
7680289a8d
1 changed files with 8 additions and 5 deletions
|
|
@ -97,26 +97,29 @@ in
|
|||
|
||||
conda = {
|
||||
truncation_length = 1;
|
||||
format = "[\$symbol\$environment](\$style) ";
|
||||
format = ''[$symbol$environment]($style) '';
|
||||
symbol = " ";
|
||||
style = "green bold";
|
||||
ignore_base = false;
|
||||
disabled = false;
|
||||
};
|
||||
|
||||
env_var.flox_active_env = {
|
||||
variable = "FLOX_ENV_NAME";
|
||||
format = "via [❄️ \$env_value](bold blue) ";
|
||||
custom.flox_prompt_indicator = {
|
||||
description = "Shows the active Flox environment name";
|
||||
command = ''if [ -n "$FLOX_ENV_NAME" ]; then echo "via [❄️ $FLOX_ENV_NAME](bold blue) "; fi'';
|
||||
when = ''test -n "$FLOX_ENV_NAME"'';
|
||||
format = ''$output'';
|
||||
shell = ["bash", "-c"];
|
||||
};
|
||||
|
||||
format = "\$directory \$git_branch \$conda\$flox_active_env\$nix_shell\$cmd_duration\$status\$character";
|
||||
format = ''$directory $git_branch $conda$custom.flox_prompt_indicator$nix_shell$cmd_duration$status$character'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue