Fix for long hostname support in PS1.