Mercurial > ec-dotfiles
changeset 249:68b765e9cf76
Some support for netbsd.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Wed, 09 Nov 2011 10:36:15 +0000 |
parents | fbb03c862b63 |
children | 4a8d81743728 |
files | rc/bash |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rc/bash Tue Nov 08 11:59:49 2011 +0700 +++ b/rc/bash Wed Nov 09 10:36:15 2011 +0000 @@ -75,6 +75,17 @@ alias ls='colorls -F' fi ;; + NetBSD) + export PATH="${PATH}:/usr/pkg/bin:/usr/pkg/sbin" + if command -v gls > /dev/null 2>&1; then + _has_gnu_ls=y + _ls="gls" + elif command -v colorls > /dev/null 2>&1; then + export CLICOLOR= + export LSCOLORS=ExGxFxdxCxegedabagExEx + alias ls='colorls -F' + fi + ;; CYGWIN*) export PATH="${PATH}:${_org_path}" ;;