summaryrefslogtreecommitdiff
path: root/source/prompt
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-08-10 11:13:22 -0400
committerShav Kinderlehrer <[email protected]>2023-08-10 11:13:22 -0400
commit3ba25af848e9789a9a631590d9a251902ee18440 (patch)
tree1a8560007e810e18813f0162072440fe77964d59 /source/prompt
parent24220d8e07ebbf0d0644681de0403ecd364b255a (diff)
downloadprim-3ba25af848e9789a9a631590d9a251902ee18440.tar.gz
prim-3ba25af848e9789a9a631590d9a251902ee18440.zip
Update path comp in ps1
Diffstat (limited to 'source/prompt')
-rw-r--r--source/prompt/ps1.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/prompt/ps1.d b/source/prompt/ps1.d
index 88d9f6e..ded5c2d 100644
--- a/source/prompt/ps1.d
+++ b/source/prompt/ps1.d
@@ -14,10 +14,10 @@ import style.font;
string ps1(Opts opt) {
string ps;
- string pathstr = path(opt.pathlen);
+ string pathstr = path(opt.pathlen).set(Color.magenta).set(Font.italic).set(Font.bold);
ps ~= "\n";
- ps ~= (",-(" ~ pathstr.set(Color.magenta) ~ ")").set(Color.black);
+ ps ~= (",-(" ~ pathstr ~ ")".set(Color.black)).set(Color.black);
ps ~= "\n";
ps ~= ("'-(" ~ to!string(opt.status) ~ ") ").set(Color.black); // prompt char