init.el
changeset 102 c87589ea77d5
parent 101 2c7a2250aebf
parent 100 e1c2df47261d
child 103 f76683958fb4
--- a/init.el	Thu Aug 16 20:19:16 2018 -0500
+++ b/init.el	Thu Aug 16 20:20:43 2018 -0500
@@ -1,7 +1,7 @@
 ;; ~/.emacs.d/init.el (~/.emacs)
 ;; Luke Hoersten <[email protected]>
 
-;;;; General ;;;;
+;;; Code:
 (add-to-list 'load-path "~/.emacs.d/elisp")   ; set default emacs load path
 
 (setq-default
@@ -134,8 +134,11 @@
 (exec-path-from-shell-copy-env "PYTHONPATH")
 (exec-path-from-shell-initialize)
 (eshell)
-(add-hook 'eshell-mode-hook (lambda () (setenv "TERM" "emacs")))
 (setq tramp-default-method "ssh")
+(add-hook 'eshell-mode-hook
+          (lambda ()
+            (setenv "TERM" "emacs")
+            (setenv "PAGER" "cat")))
 
 ;;; ido / smex / completion
 (setq-default
@@ -231,7 +234,8 @@
    clojure-mode-hook
    emacs-lisp-mode-hook
    conf-mode-hook
-   yaml-mode-hook))
+   yaml-mode-hook
+   sql-mode-hook))
 
 
 ;;; expand-region