venv prompt indicator
This commit is contained in:
parent
7bd08eb44c
commit
2f3e7c8370
|
|
@ -17,6 +17,8 @@
|
||||||
"$git_metrics"
|
"$git_metrics"
|
||||||
"$git_status\\]](bold) )"
|
"$git_status\\]](bold) )"
|
||||||
|
|
||||||
|
"$python"
|
||||||
|
|
||||||
"$cmd_duration"
|
"$cmd_duration"
|
||||||
"$line_break"
|
"$line_break"
|
||||||
|
|
||||||
|
|
@ -65,6 +67,7 @@
|
||||||
git_status.format = "(| [$all_status$ahead_behind]($style) )";
|
git_status.format = "(| [$all_status$ahead_behind]($style) )";
|
||||||
cmd_duration.format = "[\\[$duration\\]]($style) ";
|
cmd_duration.format = "[\\[$duration\\]]($style) ";
|
||||||
hostname.format = "[ @$hostname ](bg:c2)";
|
hostname.format = "[ @$hostname ](bg:c2)";
|
||||||
|
python.format = "([\\[$virtualenv\\]]($style) )";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue