 'interprogram-cut-function'"
   ;; http://www.emacswiki.org/emacs/ExecuteExternalCommand
   (start-process "copy-to-clipboard" "*Messages*" "~/bin/copy.sh" text))
-(setq interprogram-cut-function 'pipe-to-pbcopy)
 
 (defun get-pbpaste ()
   "Execute `pbpaste`.  This function is meant to be assigned to 'interprogram-paste-function'."
   (shell-command-to-string "pbpaste"))
-(setq interprogram-paste-function 'get-pbpaste)
+
+(if (eq system-type 'darwin)
+  (setq interprogram-cut-function 'pipe-to-pbcopy)
+  (setq interprogram-paste-function 'get-pbpaste))
 
 ;;; .emacs.el ends here

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; https://github.com/sellout/emacs-color-theme-solarized/issues/141#issuecomment-71862293
(add-to-list 'custom-theme-load-path "/usr/local/share/emacs/site-lisp/solarized")
;; `t` is important: http://stackoverflow.com/a/8547861
(load-theme 'solarized t)
(setq solarized-termcolors 256)

(load custom-file)

;; Homebrew executables and lisp files
(add-to-list 'load-path "/home/honker/.linuxbrew/bin/")
(let ((default-directory "/home/honker/.linuxbrew/share/emacs/site-lisp/"))
  (normal-top-level-add-subdirs-to-load-path))

(blink-cursor-mode 0)
