comparison bash @ 72:cb20a159ab00

Merge.
author Edho Prima Arief <me@myconan.net>
date Fri, 27 May 2011 10:05:11 -0400
parents 40236fd0a3a5
children f993714efa7b
comparison
equal deleted inserted replaced
69:c8c3e4bc4850 72:cb20a159ab00
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 [ -f .ecos_bash.before ] && . .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]\$ '
69 69
70 if command -v vim > /dev/null 2>&1; then 70 if command -v vim > /dev/null 2>&1; then
71 alias vi=vim 71 alias vi=vim
72 export EDITOR=vim 72 export EDITOR=vim
73 fi 73 fi
74 [ -f .ecos_bash.after ] && . .ecos_bash.after 74 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after"