aboutsummaryrefslogtreecommitdiffstats
path: root/oni-eshell.el
diff options
context:
space:
mode:
Diffstat (limited to 'oni-eshell.el')
-rw-r--r--oni-eshell.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/oni-eshell.el b/oni-eshell.el
index 1293749..132403d 100644
--- a/oni-eshell.el
+++ b/oni-eshell.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 20190531074826
+;; Version: 20190531074910
;; Package-Requires: (eshell-fringe-status esh-autosuggest)
;; This program is free software; you can redistribute it and/or modify
@@ -53,8 +53,8 @@
(add-hook 'eshell-mode-hook 'esh-autosuggest-mode)
(add-hook 'eshell-mode-hook 'goto-address-mode)
-(if (window-system)
- (add-hook 'eshell-mode-hook 'eshell-fringe-status-mode))
+(when (display-graphic-p)
+ (add-hook 'eshell-mode-hook 'eshell-fringe-status-mode))
;;;###autoload(with-eval-after-load 'eshell (require 'oni-eshell))