RC_VERBOSE="${RC_VERBOSE:-no}"
# Should we use color?
+if [ -r /proc/cmdline ] ; then
+ grep -q ' nocolor' /proc/cmdline && RC_NOCOLOR='yes'
+fi
RC_NOCOLOR="${RC_NOCOLOR:-no}"
# Can the terminal handle endcols?
RC_ENDCOL="yes"
fi
if [[ ${RC_ENDCOL} == yes ]]; then
- ENDCOL=$'\e[A\e['$(( COLS - 7 ))'G'
+ ENDCOL=$'\e[A\e['$(( COLS - 8 ))'G'
else
ENDCOL=''
fi