Skip to content

Instantly share code, notes, and snippets.

@pooza
Created November 2, 2018 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pooza/a41b1c18e2e7718716c8c4995b558107 to your computer and use it in GitHub Desktop.
Save pooza/a41b1c18e2e7718716c8c4995b558107 to your computer and use it in GitHub Desktop.
path = ENV['PATH'].split(':')
path.unshift('/sbin')
path.unshift('/usr/sbin')
path.unshift('/usr/local/sbin')
path.unshift('/bin')
path.unshift('/usr/bin')
path.unshift('/usr/local/bin')
path.uniq!
ENV['PATH'] = path.join(':')
God.load '/usr/local/etc/god/*.god'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment