20 lines
260 B
D
20 lines
260 B
D
module prompt.rps1;
|
|
|
|
import prim.opt;
|
|
|
|
import comp.path;
|
|
import comp.git;
|
|
|
|
import style;
|
|
import style.color;
|
|
import style.font;
|
|
|
|
string rps1(Opts opt) {
|
|
string ps;
|
|
|
|
ps ~= (gitBranch()).set(Font.bold).set(Color.cyan);
|
|
ps ~= (gitStatus());
|
|
|
|
return ps;
|
|
}
|