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