Mercurial > ec-dotfiles
changeset 267:e35a36bb832e
Always export LSCOLORS and CLICOLOR
author | Edho Arief <edho@myconan.net> |
---|---|
date | Thu, 24 Nov 2011 13:03:45 +0700 |
parents | 69b9cbf9f3c0 |
children | feab84a8efdb |
files | rc/bash |
diffstat | 1 files changed, 2 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/rc/bash Thu Nov 24 13:02:04 2011 +0700 +++ b/rc/bash Thu Nov 24 13:03:45 2011 +0700 @@ -24,7 +24,8 @@ export PAGER="less -Rins" export EDITOR=vi export LANG="en_US.UTF-8" -unset LS_COLORS +export CLICOLOR= +export LSCOLORS=ExGxFxdxCxegedabagExEx alias less="less -Rins" #assuming POSIX grep @@ -56,18 +57,12 @@ alias ping6="ping -A inet6" [ -f "/usr/share/lib/terminfo/?/${TERM}" ] || export TERM=dtterm ;; - FreeBSD) - export CLICOLOR= - export LSCOLORS=ExGxFxdxCxegedabagExEx - ;; OpenBSD) PATH="${PATH}:/usr/X11R6/bin" 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 ;; @@ -77,8 +72,6 @@ _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 ;;