Hello, On Sat, 04 Jul 2015, Patrick Shanahan wrote:
So a *complete* logout by a user on a machine is required for ~/.bashrc to effect *only* $EDITOR is required?
It shouldn't.
Doesn't make sense, especially as my backups show I have had "export EDITOR=/usr/bin/joe" in ~/.bashrc since at least Sept 2012.
And *never* consciously set mcedit as $EDITOR.
What other bash-related files do you have as that user? I.e. any of: /etc/profile /etc/profile.local /etc/bash/* ~/.profile ~/.bash_profile ~/.bash_login ~/.bashrc Try adding e.g. printf 'reading ~/.bashrc\n' >&2 at the second line of your ~/.bashrc (and probably analogue lines into the other files in ~/ named above. Oh, and BTW, about needing to export the variable: that works as designed and documented. If it's not exported, no child-process (e.g. crontab) will see the value of the variable. And BTW2: you should put that EDITOR="whatever" export EDITOR inside your ~/.profile and not in your ~/.bashrc. -dnh -- lp1 on fire (One of the more obfuscated kernel messages) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org