emacs - add eshell config , disable linum-mode hl current line
authorPeng Li <seudut@gmail.com>
Sat, 12 Sep 2015 10:04:00 +0000 (18:04 +0800)
committerPeng Li <seudut@gmail.com>
Sat, 12 Sep 2015 10:04:00 +0000 (18:04 +0800)
emacs.d/config/init-eshell.el [new file with mode: 0644]
emacs.d/init.el

diff --git a/emacs.d/config/init-eshell.el b/emacs.d/config/init-eshell.el
new file mode 100644 (file)
index 0000000..9beb3f8
--- /dev/null
@@ -0,0 +1,9 @@
+
+(add-hook 'eshell-mode-hook
+         (lambda ()
+           (linum-mode -1)
+           (highlight-current-line-on nil)))
+
+
+
+(provide 'init-eshell)
index 5b5cc98..dff7a8e 100644 (file)
@@ -26,7 +26,7 @@
 (require 'init-key-binding)
 (require 'init-winner)
 (require 'init-minibuffer)
-
+(require 'init-eshell)
 
 ;; http://stackoverflow.com/questions/11484225/fix-an-auto-complete-mode-and-linum-mode-annoyance
 ;;;(ac-linum-workaround)