108 reputation
3
bio website bossylobster.com
location San Francisco, CA
age
visits member for 1 year, 2 months
seen Apr 7 at 1:03

Google Engineer working on App Engine. I am in Developer Relations, so give a lot of talks in addition to writing code and also focus more on open-source code than direct App Engine development.


Jun
14
awarded  Student
Feb
13
awarded  Scholar
Feb
13
accepted What method executes on bash exit via CTRL-D?
Feb
13
comment What method executes on bash exit via CTRL-D?
Yes it works just fine, thank you!
Feb
13
comment What method executes on bash exit via CTRL-D?
I want to execute it in either situation. It's a clean up for values that get tracked when .bashrc runs (when shell opens) and when cd is called (I briefly reference cd in my original question).
Feb
12
comment What method executes on bash exit via CTRL-D?
It seems I am unclear on what this does. Where do I place this? I've put it in my .bashrc and the same behavior is observed on EOF.
Feb
12
comment What method executes on bash exit via CTRL-D?
What I really want is to trigger a method when EOF is encountered by the terminal, not execute another method. The snippet I showed above makes it so script.sh executes if I manually execute exit, but I don't want to do this.
Feb
12
asked What method executes on bash exit via CTRL-D?
Feb
8
awarded  Supporter