Mercurial > ec-dotfiles
comparison rc/bashrc @ 335:4d3288c19e91
Merge~
| author | Edho Arief <edho@myconan.net> |
|---|---|
| date | Mon, 19 Mar 2012 12:54:41 +0700 |
| parents | rc/bash@aeb51856e281 rc/bash@db66d53e10ea |
| children | 4a37643931c4 |
comparison
equal
deleted
inserted
replaced
| 332:db66d53e10ea | 335:4d3288c19e91 |
|---|---|
| 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 |
