summaryrefslogtreecommitdiff
path: root/dotfiles-darwin
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles-darwin')
-rw-r--r--dotfiles-darwin/emacs/init.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/dotfiles-darwin/emacs/init.el b/dotfiles-darwin/emacs/init.el
index d0be267..3ce4166 100644
--- a/dotfiles-darwin/emacs/init.el
+++ b/dotfiles-darwin/emacs/init.el
@@ -8,6 +8,18 @@
(setq insert-directory-program "gls"))
+;; Eshell
+
+(use-package esh-mode
+ :config
+ (if (fboundp 'eshell/pbclear)
+ (display-warning 'dotfiles "‘eshell/pbclear’ is already bound." :warning)
+ (defun eshell/pbclear ()
+ "Clears the clipboard."
+ (call-process "pbcopy" nil 0)))
+ :defer t)
+
+
;; Org
(use-package org