Hi, do you mean, you want bash to automatically load all files from ~/.bash/ directory? you want it to work as if putting this into ~/.bashrc:
for file in ~/.bash/*; do if [ -f "${file}" ]; then . "${file}"; fi; done; is that right? cheers, pg On Sun, Nov 23, 2014 at 11:54 AM, Xie Yuheng <xyh...@gmail.com> wrote: > we should add ".bash/" along with ".bashrc" as the default init dir. > this will make things more flexible, and will not break any existed code. > to be "default" is important, people who right simple makefile can use this, > only when it is "default". >