diff 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
line wrap: on
line diff
--- a/rc/bashrc	Thu Nov 20 16:06:07 2014 +0900
+++ b/rc/bashrc	Tue Nov 25 15:03:54 2014 +0900
@@ -5,13 +5,13 @@
   *) return;;
 esac
 
-if [ "${ECOS_BASH_LOADED}" != "yes" ]; then
-  ECOS_BASH_LOADED="yes"
+if [ "${EC_BASH_LOADED}" != "yes" ]; then
+  EC_BASH_LOADED="yes"
 else
   return
 fi
 
-[ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before"
+[ -f "${HOME}/.ec.bash.before" ] && . "${HOME}/.ec.bash.before"
 
 _org_path="${PATH}"
 
@@ -240,7 +240,7 @@
 esac
 
 # Priority PATHs. Always enable.
-PATH="${HOME}/bin:${HOME}/.ecos_bin:/opt/local/bin:/opt/local/sbin:${PATH}"
+PATH="${HOME}/bin:${HOME}/.ec.bin:/opt/local/bin:/opt/local/sbin:${PATH}"
 
 if command -v vim > /dev/null 2>&1; then
   alias vi=vim
@@ -292,4 +292,4 @@
 
 unset _os
 
-[ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after"
+[ -f "${HOME}/.ec.bash.after" ] && . "${HOME}/.ec.bash.after"