comparison rc/bash @ 249:68b765e9cf76

Some support for netbsd.
author Edho Arief <edho@myconan.net>
date Wed, 09 Nov 2011 10:36:15 +0000
parents 3d57990fe9d1
children 4a8d81743728
comparison
equal deleted inserted replaced
248:fbb03c862b63 249:68b765e9cf76
73 export CLICOLOR= 73 export CLICOLOR=
74 export LSCOLORS=ExGxFxdxCxegedabagExEx 74 export LSCOLORS=ExGxFxdxCxegedabagExEx
75 alias ls='colorls -F' 75 alias ls='colorls -F'
76 fi 76 fi
77 ;; 77 ;;
78 NetBSD)
79 export PATH="${PATH}:/usr/pkg/bin:/usr/pkg/sbin"
80 if command -v gls > /dev/null 2>&1; then
81 _has_gnu_ls=y
82 _ls="gls"
83 elif command -v colorls > /dev/null 2>&1; then
84 export CLICOLOR=
85 export LSCOLORS=ExGxFxdxCxegedabagExEx
86 alias ls='colorls -F'
87 fi
88 ;;
78 CYGWIN*) 89 CYGWIN*)
79 export PATH="${PATH}:${_org_path}" 90 export PATH="${PATH}:${_org_path}"
80 ;; 91 ;;
81 esac 92 esac
82 93