From 8fbae80d0465a213546cd533b57f3dce95abd4f4 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Thu, 10 Aug 2023 10:48:10 -0400 Subject: [PATCH] Update ps1 --- .gitignore | 2 ++ source/prompt/ps1.d | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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