diff options
author | Shav Kinderlehrer <[email protected]> | 2023-08-10 10:48:10 -0400 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2023-08-10 10:48:10 -0400 |
commit | 8fbae80d0465a213546cd533b57f3dce95abd4f4 (patch) | |
tree | 5efa14402a7fb0c682ea3e0810c73fc26399f69f | |
parent | 26ba41d08f86fc006edf9c0552205e2851a1060b (diff) | |
download | prim-8fbae80d0465a213546cd533b57f3dce95abd4f4.tar.gz prim-8fbae80d0465a213546cd533b57f3dce95abd4f4.zip |
Update ps1
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | source/prompt/ps1.d | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 |