summaryrefslogtreecommitdiff
path: root/source/prompt/rps1.d
blob: 075707e7cbb25f1ff82dc256967a9f56e6feaaba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
}