Extract shared irb/pry stuff into a single file