truncate working dir in bash prompt and proper wrap