Created
November 8, 2019 15:49
-
-
Save veer66/8a3ed64c53dce552b7e6eac1afebd456 to your computer and use it in GitHub Desktop.
เขียน script มา ไว้ install package ของ Emacs ที่ใช้บ่อย ๆ เอาไว้รันเวลาย้ายเครื่อง
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; This file: pkg-install.el | |
| ;; | |
| ;; How to run this: | |
| ;; emacs --batch --load pkg-install.el | |
| (require 'package) | |
| (add-to-list 'package-archives | |
| '("melpa" . "https://melpa.org/packages/")) | |
| (package-initialize) | |
| (package-refresh-contents) | |
| (defconst pkg-names '(cider | |
| paredit | |
| rust-mode | |
| alchemist)) | |
| (dolist (pkg-name pkg-names) | |
| (package-install pkg-name)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment