comparison bash @ 103:0e8018fb4203

Color prompt
author Edho Prima Arief <edho@myconan.net>
date Wed, 07 Sep 2011 10:29:36 +0700
parents 7a287a518718
children 4e44a9c03a3a
comparison
equal deleted inserted replaced
102:7a287a518718 103:0e8018fb4203
3 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before" 3 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before"
4 4
5 _org_path="${PATH}" 5 _org_path="${PATH}"
6 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 6 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
7 7
8 PS1='[\u@\h \W]\$ ' 8 #PS1='[\u@\h \W]\$ '
9 PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ '
9 10
10 export PAGER="less -Rins" 11 export PAGER="less -Rins"
11 export EDITOR=vi 12 export EDITOR=vi
12 export LANG="en_US.UTF-8" 13 export LANG="en_US.UTF-8"
13 unset LS_COLORS 14 unset LS_COLORS