Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion files/usr/etc/profile.d/alias.bash
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if test "$is" != "ksh" ; then
alias -- -='popd'
fi
alias rd=rmdir
if type -p tput >/dev/null 2>&1 && test -n "$TERM" -a -t 1 && test "$(tput colors)" -ge 8 ; then
if type -p tput >/dev/null 2>&1 && test -n "$TERM" -a -t 1 && test "$(tput colors || echo 0)" -ge 8 ; then
alias egrep='grep -E --color=auto'
alias fgrep='grep -F --color=auto'
alias grep='grep --color=auto'
Expand Down