Question

I have successfully set up a Hubot with variables set according to the Campfire adapter README, but when I restart my shell the variables are no longer set. How can I set these variables in a way that persists across shell sessions?

Was it helpful?

Solution

I knew that I had to save them to a file rather than just typing export commands in the shell, but I didn't know that it was as easy as:

  1. Editing the bin/hubot file itself (I thought there must be some separate config file)
  2. Simply typing the exact same export commands into the hubot file as the ones I had typed into the shell (I assumed there'd be some weird syntax, but there isn't.)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top