x86_64 build error fix #2
This commit is contained in:
parent
1be1358be9
commit
af063ec155
@ -16,7 +16,7 @@ if ($?TERM) then
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if ( -e "/etc/DIR_COLORS.256color" ) then
|
if ( -e "/etc/DIR_COLORS.256color" ) then
|
||||||
if ( "`infocmp $TERM | sed -n 's/.*colors#\([0-9]\+\).*/\1/p'`" == "256" ) then
|
if ( "`tput colors`" == "256" ) then
|
||||||
set COLORS=/etc/DIR_COLORS.256color
|
set COLORS=/etc/DIR_COLORS.256color
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@ -7,7 +7,7 @@ if [ -z "$LS_COLORS" ]; then
|
|||||||
COLORS=/etc/DIR_COLORS
|
COLORS=/etc/DIR_COLORS
|
||||||
[ -e "/etc/DIR_COLORS.$TERM" ] && COLORS="/etc/DIR_COLORS.$TERM"
|
[ -e "/etc/DIR_COLORS.$TERM" ] && COLORS="/etc/DIR_COLORS.$TERM"
|
||||||
[ -e "/etc/DIR_COLORS.256color" ] && \
|
[ -e "/etc/DIR_COLORS.256color" ] && \
|
||||||
[ "`infocmp $TERM | sed -n 's/.*colors#\([0-9]\+\).*/\1/p'`" = "256" ] && \
|
[ "`tput colors 2>/dev/null`" == "256" ] && \
|
||||||
COLORS="/etc/DIR_COLORS.256color"
|
COLORS="/etc/DIR_COLORS.256color"
|
||||||
[ -e "$HOME/.dircolors" ] && COLORS="$HOME/.dircolors"
|
[ -e "$HOME/.dircolors" ] && COLORS="$HOME/.dircolors"
|
||||||
[ -e "$HOME/.dir_colors" ] && COLORS="$HOME/.dir_colors"
|
[ -e "$HOME/.dir_colors" ] && COLORS="$HOME/.dir_colors"
|
||||||
|
Loading…
Reference in New Issue
Block a user