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

[New Segment]: variable segment #1200

Open iilonmasc opened 5 years ago

iilonmasc commented 5 years ago

This segment is literally a variable segment, just set P9K_VARIABLE_NAME to an env variable which you'd like to display

Default variable to use is $LANG and P9K_VARIABLE_SHOW_NAME is false by default, if you change this to true the segment will also show the variable name before the value of the variable.

image