comparison rc/bashrc @ 387:b25fff40927c

More PATH adjustment.
author Edho Arief <edho@myconan.net>
date Thu, 26 Jul 2012 15:39:31 +0700
parents 8438e85e1490
children c555557692bc
comparison
equal deleted inserted replaced
386:8438e85e1490 387:b25fff40927c
24 if test -d /usr/pkg/java/openjdk7; then 24 if test -d /usr/pkg/java/openjdk7; then
25 # OpenJDK 7 in pkgsrc 25 # OpenJDK 7 in pkgsrc
26 PATH="${PATH}:/usr/pkg/java/openjdk7/bin" 26 PATH="${PATH}:/usr/pkg/java/openjdk7/bin"
27 fi 27 fi
28 fi 28 fi
29 # OpenBSD X11
30 test -d /usr/X11R6/bin && PATH="${PATH}:/usr/X11R6/bin"
31 # PostgreSQL Yum
32 test -d /usr/pgsql-8.4 && PATH="/usr/pgsql-8.4/bin:${PATH}"
33 test -d /usr/pgsql-9.1 && PATH="/usr/pgsql-9.1/bin:${PATH}"
29 34
30 # Nuke currently defined functions 35 # Nuke currently defined functions
31 unset -f $(set | egrep ' ()$' | cut -d ' ' -f 1) 36 unset -f $(set | egrep ' ()$' | cut -d ' ' -f 1)
32 37
33 # Nuke bash-completion 38 # Nuke bash-completion
112 alias man="man -o" 117 alias man="man -o"
113 # Multi CPU awesomeness. 118 # Multi CPU awesomeness.
114 alias top="top -P" 119 alias top="top -P"
115 ;; 120 ;;
116 OpenBSD) 121 OpenBSD)
117 PATH="${PATH}:/usr/X11R6/bin"
118 if command -v gls > /dev/null 2>&1; then 122 if command -v gls > /dev/null 2>&1; then
119 _has_gnu_ls=y 123 _has_gnu_ls=y
120 _ls="gls" 124 _ls="gls"
121 elif command -v colorls > /dev/null 2>&1; then 125 elif command -v colorls > /dev/null 2>&1; then
122 alias ls="colorls -F" 126 alias ls="colorls -F"