Replies To: Bug in .bashrc unexpected end of line

Re: Bug in .bashrc unexpected end of line

Posted 19 September 2011 - 09:39 PM

** Question is not related to C/C++, moved to Other Languages **

Quote

if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi