comparison rc/bashrc @ 533:77c1f9e624a3

Rename prefix to `.ec.` instead of `.ecos_`.
author edogawaconan <me@myconan.net>
date Tue, 25 Nov 2014 15:03:54 +0900
parents 0ab0820fd528
children 8b884bbb1d05
comparison
equal deleted inserted replaced
532:d77f4aa65251 533:77c1f9e624a3
3 case "${-}" in 3 case "${-}" in
4 *i*) ;; 4 *i*) ;;
5 *) return;; 5 *) return;;
6 esac 6 esac
7 7
8 if [ "${ECOS_BASH_LOADED}" != "yes" ]; then 8 if [ "${EC_BASH_LOADED}" != "yes" ]; then
9 ECOS_BASH_LOADED="yes" 9 EC_BASH_LOADED="yes"
10 else 10 else
11 return 11 return
12 fi 12 fi
13 13
14 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before" 14 [ -f "${HOME}/.ec.bash.before" ] && . "${HOME}/.ec.bash.before"
15 15
16 _org_path="${PATH}" 16 _org_path="${PATH}"
17 17
18 # Basic PATH 18 # Basic PATH
19 export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games" 19 export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games"
238 fi 238 fi
239 ;; 239 ;;
240 esac 240 esac
241 241
242 # Priority PATHs. Always enable. 242 # Priority PATHs. Always enable.
243 PATH="${HOME}/bin:${HOME}/.ecos_bin:/opt/local/bin:/opt/local/sbin:${PATH}" 243 PATH="${HOME}/bin:${HOME}/.ec.bin:/opt/local/bin:/opt/local/sbin:${PATH}"
244 244
245 if command -v vim > /dev/null 2>&1; then 245 if command -v vim > /dev/null 2>&1; then
246 alias vi=vim 246 alias vi=vim
247 export EDITOR=vim 247 export EDITOR=vim
248 fi 248 fi
290 unset _tmux_conf_ver 290 unset _tmux_conf_ver
291 fi 291 fi
292 292
293 unset _os 293 unset _os
294 294
295 [ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after" 295 [ -f "${HOME}/.ec.bash.after" ] && . "${HOME}/.ec.bash.after"