add auto truncate line config
update ps1 for ruby 1.9
font clean up