changeset 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 467e26c59d71
files rc/bash
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rc/bash	Sun Mar 18 16:24:28 2012 +0700
+++ b/rc/bash	Mon Mar 19 01:29:48 2012 +0700
@@ -56,13 +56,12 @@
     for i in /usr/{sfw,xpg4}/bin; do
       [ -d "${i}" ] && PATH="${PATH}:${i}"
     done
+    [ -d "/opt/csw/gnu" ] && PATH="/opt/csw/gnu:${PATH}"
     alias ping="ping -s"
     alias ping6="ping -A inet6"
     # Hello tmux. Perhaps one day we'll have title with dtterm.
     # But for now we work this around by prepending tmux call with xterm-256color
     # which hopefully exists. Otherwise we have to live with no title.
-    [ -f "/usr/share/lib/terminfo/x/xterm-256color" ] && has_xterm256c=y
-    [ -f "/usr/share/lib/terminfo/s/screen" ] && has_screen=y
     case "${TERM}" in
       xterm*)
         if [ -f "/usr/share/lib/terminfo/x/xterm-256color" ]; then