Reputation: 71
I am new to emacs and wondering how I would get it to load a theme of my choosing (http://lambda.nirv.net/m/files/color-theme-chocolate-rain.el)
I am on ubuntu, and have no idea what I am doing (yet :P) in regards to Emacs, for the most part.
Upvotes: 7
Views: 15712
Reputation: 61
Download the theme folder or download the '.el' file. Since you are on ubuntu you'll need to copy the '.el' file in to your theme-load path. Or create your custom theme-load path as follows
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
after copying the '.el' file, add the following line in the .emacs file
(load-theme 'theme name)
e.g. (load-theme 'gotham)
Save the file and restart emacs.
Upvotes: 6
Reputation: 6926
This should work (you probably need to change color-theme-tty-dark
to color-theme-chocolate-rain
:
;; Enable a color theme
(require 'color-theme)
(color-theme-initialize)
(color-theme-tty-dark)
Upvotes: 3