include nix-shell symbol on right of prompt

This commit is contained in:
Noah Masur 2022-08-17 21:16:35 -06:00
parent 14c1abf761
commit 54d0a73d08

View File

@ -12,6 +12,7 @@
"$cmd_duration"
"$character"
];
right_format = "$nix_shell";
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red)";
@ -46,7 +47,10 @@
deleted = "";
style = "red";
};
nix_shell = { format = "[$symbol]($style)"; };
nix_shell = {
format = "[$symbol]($style)";
symbol = "";
};
python = { format = "[\${version}\\(\${virtualenv}\\)]($style)"; };
};
};