feat: Use Unix-style slash on Windows (#119)

Prior to this change, starship would use inconsistent slashes when displaying the working directory. With this change, starship uses Unix-style slashes on all platforms. This is consistent with the Git Bash and Cygwin prompts on Windows.
This commit is contained in:
Andrew Dassonville
2019-07-28 17:15:40 -07:00
committed by Matan Kushner
parent 0bc28c521d
commit 75e74e0d74
3 changed files with 74 additions and 7 deletions
+1
View File
@@ -32,6 +32,7 @@ pretty_env_logger = "0.3.0"
log = "0.4.7"
battery = "0.7.4"
lazy_static = "1.3.0"
path-slash = "0.1.1"
[dev-dependencies]
tempfile = "3.1.0"