 
 ; Load solarized based on the time of day
 (defun set-theme-on-time ()
-    (let ((time
-	    (string-to-number
-	      (format-time-string "%H"))))
-      (if
-	(and
-	  (>= time 7)
-	  (< time 19))
-	    (load-theme 'solarized-light t)
-	(load-theme 'solarized-dark t))))
+  (let ((time
+    (string-to-number
+      (format-time-string "%H"))))
+    (if
+      (and
+        (>= time 7)
+        (< time 19))
+          (load-theme 'solarized-light t)
+      (load-theme 'solarized-dark t))))
 
 (defun strip-string-from-file (file)
   (with-temp-buffer


; Load evil-tmux-navigator
(require 'navigate)

; Translate ansi characters in shell mode
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)

(defun set-theme-on-file (file)
  (load-theme
   (read (concat "solarized-"
     (strip-string-from-file file))) t))

(if (file-readable-p "~/.coloroverride")
    (set-theme-on-file "~/.coloroverride")
