1,012 reputation
21325
bio website caiochassot.com
location Brazil
age 30
visits member for 4 years, 9 months
seen May 10 '13 at 15:53
primadonna ruby developer, connoisseur of regexp esoterica, one-liner showoff, snooty mac user, unix weenie, maker of fine vapourware, and designer wannabe.

Mar
6
awarded  Notable Question
Feb
15
awarded  Notable Question
Feb
14
awarded  Popular Question
Feb
12
awarded  Popular Question
Dec
30
awarded  Popular Question
Dec
13
awarded  Notable Question
Sep
14
awarded  Nice Answer
Aug
26
accepted Sometimes my .bash_history gets cleared. Why? How can I prevent that?
Aug
26
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
Yeah it's confusing but it's the one we've got. I guess you'll have to add a pointer to check the comments :P
Aug
23
revised OS X: How do I alter preferences for the login window?
added 634 characters in body
Aug
23
comment OS X: How do I alter preferences for the login window?
More interestingly, changing the one in /private/var/root/Library/Preferences/ didn't work either.
Aug
23
comment OS X: How do I alter preferences for the login window?
Nop, that doesn't affect the login window.
Aug
23
comment OS X: How do I alter preferences for the login window?
I guess we can just copy our entire .GlobalPreferences.plist over the root's. Which I don't know where is.
Aug
23
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
This is really cool, and related: bradchoate.com/weblog/2006/05/19/daily-history-files-for-bash
Aug
23
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
Well, which is to say, I think this issue is resolved, unless I can trigger it by something else other than sudo. I wonder if the most effective solution is to use a different HISTFILE too? I'd love to accept your answer, but the real answer is scattered in these comments. Can you please update it with a summary?
Aug
23
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
I just use .profile and source everything from there. Which was the problem, I guess. I added a .bashrc that sources .profile and that seems to fix it. What's funny is sudo -i doesn't even seem to load any of them, and doesn't affect the history. Unix is confusing I wanna go shopping :/
Aug
23
accepted OS X: can I create a skeleton for the guest user, new users?
Aug
23
asked OS X: can I create a skeleton for the guest user, new users?
Aug
23
asked OS X: How do I alter preferences for the login window?
Aug
23
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
So bash --norc --noprofile didn't trigger the issue, but sudo -s did. I updated the question accordingly.