summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/bd--shells.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/modules/bd--shells.el')
-rw-r--r--.config/emacs/modules/bd--shells.el28
1 files changed, 13 insertions, 15 deletions
diff --git a/.config/emacs/modules/bd--shells.el b/.config/emacs/modules/bd--shells.el
index e401115..dbf6b67 100644
--- a/.config/emacs/modules/bd--shells.el
+++ b/.config/emacs/modules/bd--shells.el
@@ -12,15 +12,15 @@
(add-to-list 'eshell-modules-list 'eshell-smart))
(use-package esh-mode
- :custom
- (eshell-scroll-to-bottom-on-input 'this))
+ :config
+ (setopt eshell-scroll-to-bottom-on-input 'this))
(use-package em-banner
- :custom
- (eshell-banner-message (concat "\n" (propertize " " 'display (create-image (expand-file-name "images/raven.png" user-emacs-directory) 'png nil :scale 0.8 :align-to "center")) "\n")))
+ :config
+ (setopt eshell-banner-message (concat "\n" (propertize " " 'display (create-image (expand-file-name "images/raven.png" user-emacs-directory) 'png nil :scale 0.8 :align-to "center")) "\n")))
(use-package em-term
- :custom
+ :config
(add-to-list 'eshell-visual-commands "nethack"))
(use-package em-prompt
@@ -33,9 +33,8 @@
(system-name)
(format " %s" (bd/get-prompt-path))
" >\n"))
- :custom
- (eshell-prompt-function 'bd/eshell-prompt)
- (eshell-prompt-regexp (rx bol (eval (system-name)) (one-or-more anything) " >\n")))
+ (setopt eshell-prompt-function 'bd/eshell-prompt
+ eshell-prompt-regexp (rx bol (eval (system-name)) (one-or-more anything) " >\n")))
(use-package eshell
:bind
@@ -58,19 +57,18 @@ clear the scrollback contents. Outputs banner message."
(defun eshell/open (file)
(interactive)
(find-file file))
- :custom
- (eshell-buffer-maximum-lines 7500))
+ (setopt eshell-buffer-maximum-lines 7500))
(use-package shell
:bind
(:map shell-mode-map
("C-c C-k" . #'comint-clear-buffer))
- :custom
- (shell-command-prompt-show-cwd t)
- (shell-highlight-undef-enable t)
- (shell-kill-buffer-on-exit t)
- (comint-prompt-read-only t))
+ :config
+ (setopt shell-command-prompt-show-cwd t
+ shell-highlight-undef-enable t
+ shell-kill-buffer-on-exit t
+ comint-prompt-read-only t))
(use-package proced