s10wen / dotfiles

.files, including ~/.osx — sensible hacker defaults for OS X
http://github.com/s10wen/dotfiles
149 stars 28 forks source link

PS1 prompt #5

Closed antonjb closed 10 years ago

antonjb commented 10 years ago

When I forked this code today I noticed the 'in' word doesn't appear in the prompt. https://github.com/simonowendesign/dotfiles/blob/master/.bash_prompt#L54

if [ $USER != $default_username ]; then echo "${MAGENTA}$USER ${WHITE}at ${ORANGE}$HOSTNAME $WHITEin "; fi

The last $WHITE is missing the brackets, so:

if [ $USER != $default_username ]; then echo "${MAGENTA}$USER ${WHITE}at ${ORANGE}$HOSTNAME ${WHITE}in "; fi

I'd modified mine a bit further than this so couldn't do a pull request.

s10wen commented 10 years ago

Ah, thanks for this, I've been fiddling around with a custom theme at the minute so haven't noticed it.