petobens / trueline

Fast and extensible bash powerline prompt with true color and fancy icon support
MIT License
385 stars 36 forks source link

Added option to always display hostname next to user in prompt #33

Closed LichtiMi closed 3 years ago

LichtiMi commented 3 years ago

Reference Issues

I'm working on my local computer with several virtual machines. As long as I'm not connected to the VM with ssh only the username is displayed and I have to lookup on which machine I'm working right now.

What does this implement/fix?

I added an additional option to let the user choose if the hostname (or IP address) is always displayed or just in case of an ssh connection

Any other comments

Thanks for your great work! I really like your slim and powerful prompt design! Cheers, Michael

petobens commented 3 years ago

Thanks! In general LGTM. Please remove all comments and empty lines (I think the code is readable enough without them).

LichtiMi commented 3 years ago

Done! :)

LichtiMi commented 3 years ago

Sorry, missed the line - now it's gone.

petobens commented 3 years ago

Thanks! Merged

LichtiMi commented 3 years ago

Thanks!