caiogondim / bullet-train.zsh

:bullettrain_side: An oh-my-zsh shell theme based on the Powerline Vim plugin
MIT License
2.82k stars 382 forks source link

Add project-only options to Elixir and NVM prompt segments #318

Open FallenWarrior2k opened 4 years ago

FallenWarrior2k commented 4 years ago

The Rust and Go prompt segments, for example, are only displayed when in a project directory, while the Elixir and NVM segments were previously always displayed.

In my opinion, this cluttered the prompt with information that was of little use outside of a project, but would still be neat to have if actually working on one. As such, I added options to hide these prompt segments when not in a project directory of that language.