diff bash @ 113:9b91e702c19c

Latestest merge.
author Edho Prima Arief <edho@myconan.net>
date Wed, 19 Oct 2011 06:51:43 +0000
parents abc5c2edb967
children 548cf46e9cb4
line wrap: on
line diff
--- a/bash	Wed Oct 19 06:50:41 2011 +0000
+++ b/bash	Wed Oct 19 06:51:43 2011 +0000
@@ -6,9 +6,17 @@
 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
 
 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"
+unset LS_COLORS
 
 alias less="less -Rins"
 #assuming POSIX grep
@@ -25,6 +33,7 @@
   Linux)
     _has_rm_I=y
     _has_gnu_ls=y
+    _has_gnu_grep=y
   ;;
   SunOS)
     [ -x /usr/gnu/bin/rm ] && _has_rm_I=y
@@ -40,7 +49,8 @@
   ;;
   FreeBSD)
     _has_rm_I=y
-    CLICOLOR=
+    export CLICOLOR=
+    export LSCOLORS=ExGxFxdxCxegedabagExEx
   ;;
   OpenBSD)
     if command -v colorls > /dev/null 2>&1; then