denysdovhan / dotfiles

My lovely dots ~/.💖
407 stars 60 forks source link

How to get That 'via Node version text' #18

Closed Ayanrocks closed 6 years ago

Ayanrocks commented 6 years ago

i have hyper and zsh installed with spaceship-zsh. How to get that via the node version text in the terminal?

denysdovhan commented 6 years ago

As it said in Spaceship's docs:

Node.js section is shown only in directories that contain package.json file, or node_modules folder, or any other file with .js extension.

— https://denysdovhan.com/spaceship-prompt/docs/Options.html#nodejs-node