155 reputation
6
bio website twitter.com/jmlane
location Charlottetown, Canada
age 27
visits member for 5 years, 2 months
seen Dec 2 at 16:29

Computer science and math student, gamer, philosopher, nerd.


Jan
3
awarded  Critic
Oct
30
accepted Bash shell: how to reconcile portable configuration files and GUI terminal start-up types (login or interactive)?
Oct
30
comment Bash shell: how to reconcile portable configuration files and GUI terminal start-up types (login or interactive)?
Given the time since you answered, I've expanded my practical knowledge of Bash and I've come to appreciate the points you illustrated in your answer. Because of this guidance, I have yet to run into any unexpected behaviour due to misplaced commands or statements in my Bash start-up files.
Mar
3
awarded  Editor
Mar
3
revised Potential issues with adding /usr/local/[s]bin to root's path?
Added in missing root slash in title path.
Mar
3
comment Potential issues with adding /usr/local/[s]bin to root's path?
Very comprehensive answer. I neglected to consider the user/group permissions on the /usr/local tree. I rather err on the side of having only executables in the root $PATH that root alone could have put there/changed.
Mar
3
awarded  Scholar
Mar
3
accepted Potential issues with adding /usr/local/[s]bin to root's path?
Mar
2
asked Potential issues with adding /usr/local/[s]bin to root's path?
Dec
5
awarded  Supporter
Dec
5
comment Bash shell: how to reconcile portable configuration files and GUI terminal start-up types (login or interactive)?
I may have to do some research into edge-cases where non-interactive shells may source .bashrc for some odd reason. As you've described it, this seems like a bug in rshd (less so for sshd), so I need to determine why this behaviour persists in the latest version of that software.
Dec
5
comment Bash shell: how to reconcile portable configuration files and GUI terminal start-up types (login or interactive)?
So with the exception of setting environment variables in .bash_profile (which sources .bash_rc), there isn't much of a problem with using .bash_profile and .bash_rc both in both a login shell and a non-login interactive shell?
Dec
2
awarded  Student
Dec
2
asked Bash shell: how to reconcile portable configuration files and GUI terminal start-up types (login or interactive)?
Oct
30
awarded  Autobiographer