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