Mercurial > ec-dotfiles
comparison bash @ 118:131e1ddf8d43
Merge.
author | Edho Prima Arief <edho@myconan.net> |
---|---|
date | Fri, 21 Oct 2011 14:15:10 +0700 |
parents | 548cf46e9cb4 |
children | eacc854eae67 |
comparison
equal
deleted
inserted
replaced
116:66c32422a3d4 | 118:131e1ddf8d43 |
---|---|
1 #!/usr/bin/env bash | 1 #!/usr/bin/env bash |
2 | |
3 if [ "${ECOS_BASH_LOADED}" != "yes" ]; then | |
4 | |
5 export ECOS_BASH_LOADED="yes" | |
2 | 6 |
3 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before" | 7 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before" |
4 | 8 |
5 _org_path="${PATH}" | 9 _org_path="${PATH}" |
6 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" | 10 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
81 if command -v vim > /dev/null 2>&1; then | 85 if command -v vim > /dev/null 2>&1; then |
82 alias vi=vim | 86 alias vi=vim |
83 export EDITOR=vim | 87 export EDITOR=vim |
84 fi | 88 fi |
85 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after" | 89 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after" |
90 | |
91 fi | |
92 |