projects
/
bpgallery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add in per gallery config file
[bpgallery.git]
/
bpgallery.sh
diff --git
a/bpgallery.sh
b/bpgallery.sh
index abcfafa70a027a92d62e8a35c167adfce4b1e293..948d5894980539deb5498fb327cebe4f81edd9b4 100755
(executable)
--- a/
bpgallery.sh
+++ b/
bpgallery.sh
@@
-142,6
+142,10
@@
if [[ -e $HOME/.bpgallery.rc ]]; then
. $HOME/.bpgallery.rc 2>/dev/null
fi
+if [[ -e $1 && -d $1 && -e $1/.bpgallery.rc ]]; then
+ . $1/.bpgallery.rc 2>/dev/null
+fi
+
if [[ -z ${BPGALLERY_THEME} ]]; then
BPGALLERY_THEME=default
fi