# HG changeset patch # User Edho Prima Arief # Date 1318333336 0 # Node ID fd8dbd4bb758d174bcf9dbe80549b9662276673f # Parent 06637c6cdc902558e1d2cecbbf3e41cb3579a6de ls color for freebsd, history control. diff -r 06637c6cdc90 -r fd8dbd4bb758 bash --- a/bash Sat Sep 17 01:11:11 2011 +0700 +++ b/bash Tue Oct 11 11:42:16 2011 +0000 @@ -12,6 +12,11 @@ #PS1='[\u@\h \W]\$ ' PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ ' +shopt -s histappend +PROMPT_COMMAND='history -a' +export HISTFILESIZE=10000 +export HISTCONTROL=ignoredups + export PAGER="less -Rins" export EDITOR=vi export LANG="en_US.UTF-8" @@ -48,7 +53,8 @@ ;; FreeBSD) _has_rm_I=y - CLICOLOR= + export CLICOLOR= + export LSCOLORS=ExGxFxdxCxegedabagExEx ;; OpenBSD) if command -v colorls > /dev/null 2>&1; then