comparison rc/bash @ 333:aeb51856e281

[rc/bash] Solaris: additional path, removed useless test.
author Edho Arief <edho@myconan.net>
date Mon, 19 Mar 2012 01:29:48 +0700
parents b27e43878127
children
comparison
equal deleted inserted replaced
326:b27e43878127 333:aeb51856e281
54 [ -d "${i}" ] && PATH="${i}:${PATH}" 54 [ -d "${i}" ] && PATH="${i}:${PATH}"
55 done 55 done
56 for i in /usr/{sfw,xpg4}/bin; do 56 for i in /usr/{sfw,xpg4}/bin; do
57 [ -d "${i}" ] && PATH="${PATH}:${i}" 57 [ -d "${i}" ] && PATH="${PATH}:${i}"
58 done 58 done
59 [ -d "/opt/csw/gnu" ] && PATH="/opt/csw/gnu:${PATH}"
59 alias ping="ping -s" 60 alias ping="ping -s"
60 alias ping6="ping -A inet6" 61 alias ping6="ping -A inet6"
61 # Hello tmux. Perhaps one day we'll have title with dtterm. 62 # Hello tmux. Perhaps one day we'll have title with dtterm.
62 # But for now we work this around by prepending tmux call with xterm-256color 63 # 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. 64 # which hopefully exists. Otherwise we have to live with no title.
64 [ -f "/usr/share/lib/terminfo/x/xterm-256color" ] && has_xterm256c=y
65 [ -f "/usr/share/lib/terminfo/s/screen" ] && has_screen=y
66 case "${TERM}" in 65 case "${TERM}" in
67 xterm*) 66 xterm*)
68 if [ -f "/usr/share/lib/terminfo/x/xterm-256color" ]; then 67 if [ -f "/usr/share/lib/terminfo/x/xterm-256color" ]; then
69 export TERM="xterm-256color" 68 export TERM="xterm-256color"
70 else 69 else