Commit 308a1a27 authored by Natanael Copa's avatar Natanael Copa

abuild: only set xterm title if USE_COLOR is enabled

parent a83cdde5
......@@ -74,7 +74,7 @@ error() {
set_xterm_title() {
if [ "$TERM" = xterm ]; then
if [ "$TERM" = xterm ] && [ -n "$USE_COLORS" ]; then
printf "\033]0;$1\007" >&2
fi
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment