# HG changeset patch # User Edho Prima Arief # Date 1306083680 -25200 # Node ID 40236fd0a3a5d01d73ada20320b72cb6580e1129 # Parent babf62f1bba708a14dfa0c5e031ccb23e1d3f521 Explicit path checking. diff -r babf62f1bba7 -r 40236fd0a3a5 bash --- a/bash Sun May 22 16:29:52 2011 +0700 +++ b/bash Mon May 23 00:01:20 2011 +0700 @@ -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"