Merge pull request #4 from bijanebrahimi/feature-load
fix load function not to depend on execution flag of file
This commit is contained in:
commit
896839477f
@ -13,7 +13,7 @@ _loaded() {
|
|||||||
|
|
||||||
load() {
|
load() {
|
||||||
local _e=$1
|
local _e=$1
|
||||||
[[ -x $_e ]] && \
|
[[ -f $_e ]] && \
|
||||||
. $_e
|
. $_e
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user