Re:Show HN: A fix for the .bash_profile .bashrc .profile mad...
by delinka on Saturday August 11, 2012 @12:45PM
(#4370436)
I'm replying to the answers to my post here.
Let me put it another way: don't try to outthink the users' intentions- leave it to me and my scripts to decide what to run and when. My script should make the decision whether it's appropriate to load certain things. Passing --interactive, --login, --remote, --wtfe to the shell should cause nothing more than a flag to be set for my script to query. Then my script can make the decision what to load and when.
I do understand the original intent. I believe it was the wrong was to go about it.
Let me put it another way: don't try to outthink the users' intentions- leave it to me and my scripts to decide what to run and when. My script should make the decision whether it's appropriate to load certain things. Passing --interactive, --login, --remote, --wtfe to the shell should cause nothing more than a flag to be set for my script to query. Then my script can make the decision what to load and when.
I do understand the original intent. I believe it was the wrong was to go about it.