Update ps1
This commit is contained in:
parent
26ba41d08f
commit
8fbae80d04
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user