Do a whole bunch of eshell stuff, consolidate settings file
This commit is contained in:
parent
20dc5b7887
commit
eaf91b1cbd
@ -1,19 +0,0 @@
|
||||
;;; eshell-settings --- settings for eshell.
|
||||
;;; Commentary:
|
||||
;; the elisp linter wants me to put some text here so I guess I will
|
||||
|
||||
;;; Code:
|
||||
(require 'eshell)
|
||||
(defun eshell/emacs (&rest args)
|
||||
"Basically you can edit ARGS and it will open in a new buffer.
|
||||
When your shell is Emacs, your Emacs is but an oyster...
|
||||
This is taken from a website that I can't remember at the moment."
|
||||
(if (null args)
|
||||
(bury-buffer)
|
||||
(mapc
|
||||
#'find-file-other-window
|
||||
(mapcar
|
||||
#'expand-file-name (flatten-tree (reverse args))))))
|
||||
|
||||
(provide 'eshell-settings)
|
||||
;;; eshell-settings.el ends here
|
@ -44,17 +44,38 @@ NAME and ARGS are in `use-package'."
|
||||
:custom
|
||||
(whitespace-style '(face lines-tail))
|
||||
(whitespace-line-column 80)
|
||||
(use-package eshell
|
||||
:hook (prog-mode . whitespace-mode)
|
||||
;; :config (global-whitespace-mode t)
|
||||
)
|
||||
(use-feature eshell
|
||||
:straight (:type built-in)
|
||||
:commands (eshell/emacs eshell/man)
|
||||
:custom (eshell-scroll-to-bottom-on-input t)
|
||||
:config
|
||||
(require 'eshell)
|
||||
(require 'em-unix)
|
||||
(require 'eshell-settings))
|
||||
(use-package eshell-vterm
|
||||
(add-to-list 'eshell-modules-list 'eshell-rebind)
|
||||
(defun eshell/emacs (&rest args)
|
||||
"Basically you can edit ARGS and it will open in a new buffer.
|
||||
When your shell is Emacs, your Emacs is but an oyster...
|
||||
This is taken from a website that I can't remember at the moment."
|
||||
(if (null args)
|
||||
(bury-buffer)
|
||||
(mapc
|
||||
#'find-file-other-window
|
||||
(mapcar
|
||||
#'expand-file-name (flatten-tree (reverse args)))))))
|
||||
(elpaca-use-package eshell-vterm
|
||||
:after eshell
|
||||
:custom (eshell-destroy-buffer-when-process-dies t)
|
||||
:hook (eshell-mode . eshell-vterm-mode))
|
||||
(use-package ibuffer
|
||||
(elpaca-use-package eshell-syntax-highlighting
|
||||
:hook (eshell-mode . eshell-syntax-highlighting-mode))
|
||||
(elpaca-use-package eshell-prompt-extras
|
||||
:after eshell
|
||||
:custom
|
||||
(eshell-highlight-prompt nil)
|
||||
(eshell-prompt-function 'epe-theme-multiline-with-status)
|
||||
(epe-path-style 'full))
|
||||
(use-feature ibuffer
|
||||
:straight (:type built-in)
|
||||
:commands ibuffer
|
||||
:custom (ibuffer-use-other-window t))
|
||||
|
Loading…
Reference in New Issue
Block a user