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: Steve Simmons
Subject: Re: to add ".bash/" along with ".bashrc" as the default init dir.
Date: Mon, 24 Nov 2014 10:52:30 -0500

On Nov 23, 2014, at 2:08 PM, Chet Ramey <chet.ramey@case.edu> wrote:

> On 11/23/14 5:54 AM, Xie Yuheng 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".
> 
> Is this of general enough use to add?  There are Linux distributions
> that have added shell code similar to what Piotr posted to add this
> functionality.  I don't think there's enough reason to make the change.

I hate the number of dotfiles that exist in $HOME - not bash's (well, bash's 
too), but every freaking application that does it. I hate not knowing what app 
installed the dotfiles. I hate that when I go to see what dotfiles exist for 
$APP, I see all the dotfiles for all the apps without know which ones belong 
with which.

My preference would be that the search order for any bash dotfiles are 
~/.bash/file, then ~/.file. It's backwards-compatible, and for those of us who 
have $HOME in a single filesystem across many machines, a symbolic or hard 
links from ~/.bashdotfile -> ~/.bash/foodotfile.







reply via email to

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