changeset 112:abc5c2edb967

Merge.
author Edho Prima Arief <edho@myconan.net>
date Sun, 16 Oct 2011 20:08:46 +0700
parents 25edf1880db3 (current diff) fd8dbd4bb758 (diff)
children 9b91e702c19c
files bash
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bash	Sun Oct 16 19:56:58 2011 +0700
+++ b/bash	Sun Oct 16 20:08:46 2011 +0700
@@ -8,6 +8,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"
@@ -44,7 +49,8 @@
   ;;
   FreeBSD)
     _has_rm_I=y
-    CLICOLOR=
+    export CLICOLOR=
+    export LSCOLORS=ExGxFxdxCxegedabagExEx
   ;;
   OpenBSD)
     if command -v colorls > /dev/null 2>&1; then