Added smarter conditions to PS1 and PATH. (#56)