Re: My .profile is not read?
John W <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <CADO30spv6-uWX1YLULp-HAXQf4ff2OpNOh7=O7omYXotixDBxQ@mail.gmail.com> |
Hi, I spent a little more time looking at this. > (look deeply for what happens in your .bashrc) My .bashrc is very simple - it sets some aliases, sets some bash options (eg: 'set -o vi'), and creates some shell functions. Further, this worked before in Xfce, so if something in .bashrc were messing it up, wouldn't it have happened then as well? > > Try the following in .fluxbox/keys > Control BackSpace :Exec export -p > /tmp/env_dump.log > (then when fluxbox is up, you can dump its environment) > > Or: > export -p > /tmp/env-before-bashrc.log at the beginning of .bashrc. > I tried these. I also put an 'export -p > ...' in my .xinitrc, just before the final 'exec fluxbox'. The results: * in .xinitrc, just before fluxbox is run, PS1 is set correctly and exported * when dumping from the key shortcut, PS1 is blank and not exported * when dumping from .bashrc, PS1 is set wrong (some default prompt?) and not exported > $ grep -r PS1 ~/comp/sources/fluxbox # brought nothing Yeah, I poked around there too; didn't find anything, either. > is your $PS1 really exported ? It is before I invoke fluxbox. But it isn't afterwards. No idea why ): -John ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2