Don't run eshell-fringe-status in terminal Emacs
This commit is contained in:
parent
7f2de7064b
commit
8596739704
1 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 20190226014039
|
;; Version: 20190226021452
|
||||||
;; Package-Requires: (eshell-fringe-status)
|
;; Package-Requires: (eshell-fringe-status)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -48,10 +48,12 @@
|
||||||
(define-key eshell-mode-map (kbd "C-d") #'oni-eshell--C-d))
|
(define-key eshell-mode-map (kbd "C-d") #'oni-eshell--C-d))
|
||||||
|
|
||||||
(add-hook 'eshell-load-hook #'oni-eshell--enable-truncating-buffers)
|
(add-hook 'eshell-load-hook #'oni-eshell--enable-truncating-buffers)
|
||||||
(add-hook 'eshell-mode-hook 'eshell-fringe-status-mode)
|
|
||||||
(add-hook 'eshell-mode-hook 'goto-address-mode)
|
(add-hook 'eshell-mode-hook 'goto-address-mode)
|
||||||
(add-hook 'eshell-first-time-mode-hook #'oni-eshell--set-eshell-C-d)
|
(add-hook 'eshell-first-time-mode-hook #'oni-eshell--set-eshell-C-d)
|
||||||
|
|
||||||
|
(if (window-system)
|
||||||
|
(add-hook 'eshell-mode-hook 'eshell-fringe-status-mode))
|
||||||
|
|
||||||
;;;###autoload(with-eval-after-load 'eshell (require 'oni-eshell))
|
;;;###autoload(with-eval-after-load 'eshell (require 'oni-eshell))
|
||||||
|
|
||||||
(provide 'oni-eshell)
|
(provide 'oni-eshell)
|
||||||
|
|
Loading…
Reference in a new issue