[prev] [thread] [next] [lurker] [Date index for 2006/08/25]
Something isn't honouring my profile... My profile sets HISTSIZE to something non-default so that more bash history gets saved. Login shells are happy. Children spawned from login shells are happy - they inherit the environment, as it should be. It turns out to be the OS X X server. Its default is to spawn an xterm. It's doing this from a clean environment (ie it's not run my profile) but it doesn't run the xterm with -ls to make it a login shell. So nothing is running my profile. Mmm. I don't have an .xsession here, I don't really feel like creating one just for this, so as it's "my" laptop I investigate what the system default is. It seems to be /private/etc/X11/xdm/Xsession And lo, that file has a bare unadorned "xterm". So I change it to "xterm -ls". Does this work? Hell no. The bastard X server isn't using that, and is (or at least as far as all the documentation and preferences goes) hard coded to start xterm. And fuck my shell history over. Hate. Nicholas Clark
Generated at 03:01 on 31 Aug 2006 by mariachi 0.52