summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-08-10 10:48:10 -0400
committerShav Kinderlehrer <[email protected]>2023-08-10 10:48:10 -0400
commit8fbae80d0465a213546cd533b57f3dce95abd4f4 (patch)
tree5efa14402a7fb0c682ea3e0810c73fc26399f69f
parent26ba41d08f86fc006edf9c0552205e2851a1060b (diff)
downloadprim-8fbae80d0465a213546cd533b57f3dce95abd4f4.tar.gz
prim-8fbae80d0465a213546cd533b57f3dce95abd4f4.zip
Update ps1
-rw-r--r--.gitignore2
-rw-r--r--source/prompt/ps1.d2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index ff8b175..db1a741 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+./prim
+
# Created by https://www.toptal.com/developers/gitignore/api/d,macos,linux,windows
# Edit at https://www.toptal.com/developers/gitignore?templates=d,macos,linux,windows
diff --git a/source/prompt/ps1.d b/source/prompt/ps1.d
index d1bc1b3..88d9f6e 100644
--- a/source/prompt/ps1.d
+++ b/source/prompt/ps1.d
@@ -17,7 +17,7 @@ string ps1(Opts opt) {
string pathstr = path(opt.pathlen);
ps ~= "\n";
- ps ~= (",-(" ~ pathstr ~ ")").set(Color.black);
+ ps ~= (",-(" ~ pathstr.set(Color.magenta) ~ ")").set(Color.black);
ps ~= "\n";
ps ~= ("'-(" ~ to!string(opt.status) ~ ") ").set(Color.black); // prompt char