comparison rc/bash @ 317:64e2702d40ae

A bit clearer info on Solaris.
author Edho Arief <edho@myconan.net>
date Sun, 18 Mar 2012 11:36:01 +0700
parents 4f6a3bcbdec0
children e15c84ae856d
comparison
equal deleted inserted replaced
316:4f6a3bcbdec0 317:64e2702d40ae
62 # But for now we work this around by prepending tmux call with xterm-256color 62 # But for now we work this around by prepending tmux call with xterm-256color
63 # which hopefully exists. Otherwise we have to live with no title. 63 # which hopefully exists. Otherwise we have to live with no title.
64 if [ -f /usr/share/lib/terminfo/x/xterm-256color ]; then 64 if [ -f /usr/share/lib/terminfo/x/xterm-256color ]; then
65 alias tmux="TERM=xterm-256color tmux" 65 alias tmux="TERM=xterm-256color tmux"
66 else 66 else
67 echo "No xterm-256color, using dtterm. Tmux title won't work." 67 echo "No xterm-256color terminal, using dtterm. Tmux title won't work."
68 fi 68 fi
69 [ -f /usr/share/lib/terminfo/?/"${TERM}" ] || export TERM=dtterm 69 [ -f /usr/share/lib/terminfo/?/"${TERM}" ] || export TERM=dtterm
70 if command -v ggrep > /dev/null 2>&1; then 70 if command -v ggrep > /dev/null 2>&1; then
71 _has_gnu_grep=y 71 _has_gnu_grep=y
72 _grep="ggrep" 72 _grep="ggrep"