.envrc 597 B

1234567891011121314151617181920
  1. # Copyright (c) 2016 Andy Hochhaus. All Rights Reserved.
  2. # Use of this source code is governed by the "GNU AFFERO GENERAL PUBLIC
  3. # LICENSE" license that can be found in the LICENSE file. See the AUTHORS file
  4. # for names of contributors.
  5. #
  6. # To install (once per user account):
  7. #
  8. # $ sudo aptitude install direnv
  9. # $ echo 'eval "$(direnv hook bash)"' >> ~/.bashrc
  10. #
  11. # For each time the .envrc file is created/modified:
  12. #
  13. # $ direnv allow .envrc
  14. #
  15. # More information:
  16. # http://tammersaleh.com/posts/manage-your-gopath-with-direnv/
  17. # http://direnv.net/
  18. export GOPATH=$PWD
  19. export PATH=$PATH:$PWD/bin