Update ps1

This commit is contained in:
Shav Kinderlehrer 2023-08-10 10:48:10 -04:00
parent 26ba41d08f
commit 8fbae80d04
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
./prim
# Created by https://www.toptal.com/developers/gitignore/api/d,macos,linux,windows # 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 # Edit at https://www.toptal.com/developers/gitignore?templates=d,macos,linux,windows

View File

@ -17,7 +17,7 @@ string ps1(Opts opt) {
string pathstr = path(opt.pathlen); string pathstr = path(opt.pathlen);
ps ~= "\n"; ps ~= "\n";
ps ~= (",-(" ~ pathstr ~ ")").set(Color.black); ps ~= (",-(" ~ pathstr.set(Color.magenta) ~ ")").set(Color.black);
ps ~= "\n"; ps ~= "\n";
ps ~= ("'-(" ~ to!string(opt.status) ~ ") ").set(Color.black); // prompt char ps ~= ("'-(" ~ to!string(opt.status) ~ ") ").set(Color.black); // prompt char