diff --git a/oni-eshell.el b/oni-eshell.el index 16585db..b49a375 100644 --- a/oni-eshell.el +++ b/oni-eshell.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.1210.213125 +;; Version: 2021.0227.172750 ;; Package-Requires: (eshell-fringe-status esh-autosuggest xterm-color eshell-syntax-highlighting) ;; This program is free software; you can redistribute it and/or modify @@ -99,11 +99,16 @@ new-path (concat "/" new-path)))) +(defun oni-eshell-disable-beacon-on-scroll () + "Disable ‘beacon-blink-when-window-scrolls’ in the current buffer." + (setq-local beacon-blink-when-window-scrolls nil)) + (add-hook 'eshell-before-prompt-hook #'oni-eshell--set-xterm-variables) (add-hook 'eshell-first-time-mode-hook #'oni-eshell--expand-keymap) (add-hook 'eshell-load-hook #'oni-eshell--disable-ansi-color-handling) (add-hook 'eshell-load-hook #'oni-eshell--enable-truncating-buffers) (add-hook 'eshell-load-hook #'oni-eshell--enable-xterm-filter) +(add-hook 'eshell-mode-hook #'oni-eshell-disable-beacon-on-scroll) (add-hook 'eshell-mode-hook 'esh-autosuggest-mode) (add-hook 'eshell-mode-hook 'eshell-syntax-highlighting-mode) (add-hook 'eshell-mode-hook 'goto-address-mode)