Merge branch 'master' of http://github.com/mrman208/bash-it into mrman208-master

pull/12/head
Robert R Evans 2010-10-12 16:04:52 -07:00
commit cedc030b62
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
prompt_setter() {
if [[ $? -eq 0 ]]; then
PS1="\W "
else
PS1="${red}\W ${reset_color}"
fi
}
PROMPT_COMMAND=prompt_setter