Skip to content

Instantly share code, notes, and snippets.

@intinig
Created April 4, 2012 09:07
Show Gist options
  • Save intinig/2299848 to your computer and use it in GitHub Desktop.
Save intinig/2299848 to your computer and use it in GitHub Desktop.
e
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
;; Add in your own as you wish:
(defvar my-packages '(starter-kit starter-kit-lisp starter-kit-bindings starter-kit-eshell starter-kit-js starter-kit-ruby)
"A list of packages to ensure are installed at launch.")
(dolist (p my-packages)
(when (not (package-installed-p p))
(package-install p)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment