init.coffee 629 B

123456789101112131415161718
  1. # Your init script
  2. #
  3. # Atom will evaluate this file each time a new window is opened. It is run
  4. # after packages are loaded/activated and after the previous editor state
  5. # has been restored.
  6. #
  7. # An example hack to log to the console when each text editor is saved.
  8. #
  9. # atom.workspace.observeTextEditors (editor) ->
  10. # editor.onDidSave ->
  11. # console.log "Saved! #{editor.getPath()}"
  12. process.env.PATH += ':' + process.env.HOME + '/homebrew/bin/'
  13. process.env.PATH += ':/usr/local/bin'
  14. process.env.GOPATH = process.env.HOME + '/go'
  15. # Ensure LANG is set for subprocesses
  16. process.env.LANG = 'en_US.UTF-8' unless process.env.LANG