summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs/custom/fcuny-eshell.el30
1 files changed, 26 insertions, 4 deletions
diff --git a/emacs/custom/fcuny-eshell.el b/emacs/custom/fcuny-eshell.el
index 36aa55e..2cd1455 100644
--- a/emacs/custom/fcuny-eshell.el
+++ b/emacs/custom/fcuny-eshell.el
@@ -1,4 +1,30 @@
 (require 'eshell)
+(require 'esh-mode)
+(require 'esh-module)
+(setq eshell-modules-list
+      '(eshell-alias
+        eshell-basic
+        eshell-cmpl
+        eshell-dirs
+        eshell-glob
+        eshell-hist
+        eshell-ls
+        eshell-pred
+        eshell-prompt
+        eshell-script
+        eshell-term
+        eshell-tramp
+        eshell-unix))
+
+(require 'em-alias)
+(require 'em-basic)
+(require 'em-dirs)
+(require 'em-glob)
+(require 'em-hist)
+(require 'em-smart)
+(require 'em-term)
+(require 'em-tramp)
+(require 'em-prompt)
 
 (defun fcuny/eshell-mode-setup ()
   (eshell/alias "e" "find-file $1")
@@ -61,10 +87,6 @@ multiple eshell windows easier."
          (eshell-mode . eshell-smart-initialize))
   :commands (eshell eshell-command)
   :bind (("C-c e h" . fcuny/eshell-here))
-  :init
-  (require 'em-smart)
-  (require 'em-hist)
-  (require 'em-tramp)
   :custom
   (eshell-scroll-to-bottom-on-input 'all)
   (eshell-error-if-no-glob t)