bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to add ".bash/" along with ".bashrc" as the default init dir.


From: Piotr Grzybowski
Subject: Re: to add ".bash/" along with ".bashrc" as the default init dir.
Date: Sun, 23 Nov 2014 15:04:39 +0100

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 <xyheme@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".
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]