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.47k stars 947 forks source link

[Request] Only show rust version if there's a Cargo.toml file in a parent folder #1180

Open loganintech opened 5 years ago

loganintech commented 5 years ago

While I love the ability to see the language's version in the command line, I wish it worked similar to the go support where it'd only show up when I'm in $GOPATH or a sub-directory. Could this be done automatically, or perhaps configured via an environment variable?

If this sounds like something potentially easy I could take look, I just have no frame of reference in the repo at the moment. Thanks!