Skip to content

Commit 49a043a

Browse files
author
Jeff Bai
committed
bashrc: tput should not be redirected to null
1 parent ed3effd commit 49a043a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bashrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ CYAN='\e[1;36m'
6262
YELLOW='\e[1;93m'
6363
IRED='\e[0;91m'
6464

65-
if _rc_term_colors="$(tput colors &>/dev/null)"; then
65+
if _rc_term_colors="$(tput colors)"; then
6666
[ "$_rc_term_colors" -le 16 ]
6767
else
6868
case "$TERM" in (linux|msys|cygwin) true;; (*) false;; esac

0 commit comments

Comments
 (0)