changeset 255:4a0f963a3ff1

PATH adjustment for OpenBSD.
author Edho Arief <edho@myconan.net>
date Tue, 15 Nov 2011 12:10:09 +0700
parents dde04581a2bf
children 227f4d463b5d
files rc/bash
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rc/bash	Mon Nov 14 11:08:45 2011 +0300
+++ b/rc/bash	Tue Nov 15 12:10:09 2011 +0700
@@ -69,6 +69,7 @@
     export LSCOLORS=ExGxFxdxCxegedabagExEx
   ;;
   OpenBSD)
+    PATH="${PATH}:/usr/X11R6/bin"
     if command -v gls > /dev/null 2>&1; then
       _has_gnu_ls=y
       _ls="gls"
@@ -79,7 +80,7 @@
     fi
   ;;
   NetBSD)
-    export PATH="${PATH}:/usr/pkg/bin:/usr/pkg/sbin"
+    PATH="${PATH}:/usr/pkg/bin:/usr/pkg/sbin"
     if command -v gls > /dev/null 2>&1; then
       _has_gnu_ls=y
       _ls="gls"