Skip to content

Commit

Permalink
Add djr-shell
Browse files Browse the repository at this point in the history
Configure eshell as I like it.
  • Loading branch information
danieroux committed Feb 1, 2016
1 parent fa55b0d commit c030b7e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
5 changes: 1 addition & 4 deletions init.el
Expand Up @@ -23,6 +23,7 @@
djr-id-manager
djr-mu4e
djr-rcirc
djr-shell
)
dotspacemacs-additional-packages '()
dotspacemacs-excluded-packages '()
Expand Down Expand Up @@ -170,10 +171,6 @@ values."
(use-package shell)
(djr/sync-mail-and-update-mu4e)

(setq shell-default-shell 'eshell
shell-enable-smart-eshell t
shell-protect-eshell-prompt t)

(setq powerline-default-separator 'nil))

;; Do not write anything past this comment. This is where Emacs will
Expand Down
1 change: 1 addition & 0 deletions layers/djr-shell/config.el
@@ -0,0 +1 @@
(configuration-layer/declare-layer 'shell)
12 changes: 12 additions & 0 deletions layers/djr-shell/packages.el
@@ -0,0 +1,12 @@
(defconst djr-shell-packages
'())

(defun shell/pre-init-eshell ()
(spacemacs|use-package-add-hook eshell
:post-init
(progn
(setq eshell-where-to-jump 'begin
eshell-review-quick-commands 'not-even-short-output
eshell-glob-case-insensitive t
eshell-prefer-lisp-functions t
eshell-smart-space-goes-to-end t))))

0 comments on commit c030b7e

Please sign in to comment.