Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.46k stars 947 forks source link

Hide a part of current working directory #1402

Closed TerensTare closed 4 years ago

TerensTare commented 4 years ago

I just finished installing powerlevel9k on my Windows machine using WSL. The problem is that the current working directory is shown as /mnt/c/somedir. Is there any way to change that to just c\somedir ??

romkatv commented 4 years ago

Not with, powerlevel9k, no.

TerensTare commented 4 years ago

@romkatv What can I do to achieve that on Ubuntu? ( that's the distro I use with WSL)

romkatv commented 4 years ago

On this forum it's only allowed to answer a slight variation of your question: "What can I do to achieve that on Ubuntu with powerlevel9k?" The answer is that you cannot achieve this with powerlevel9k. It's against the code of conduct of this project to answer your original question.

TerensTare commented 4 years ago

I understand. I'm sorry for breaking the code of conduct. I thank you for all your effort. Happy coding!

romkatv commented 4 years ago

You didn't break the code of conduct. Asking questions is allowed. It's only disallowed to answer them if the offered solution doesn't involve the use of powerlevel9k. That's my understanding of the rule at least.