diff bash @ 72:cb20a159ab00

Merge.
author Edho Prima Arief <me@myconan.net>
date Fri, 27 May 2011 10:05:11 -0400
parents 40236fd0a3a5
children f993714efa7b
line wrap: on
line diff
--- a/bash	Fri May 27 10:03:55 2011 -0400
+++ b/bash	Fri May 27 10:05:11 2011 -0400
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 
-[ -f .ecos_bash.before ] && . .ecos_bash.before
+[ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before"
 
 _org_path="${PATH}"
 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
@@ -71,4 +71,4 @@
   alias vi=vim
   export EDITOR=vim
 fi
-[ -f .ecos_bash.after ] && . .ecos_bash.after
+[ -f "${HOME}/.ecos_bash.after" ] && . "${HOME}/.ecos_bash.after"