diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 9a8c9e2..59f72b0 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -176,7 +176,6 @@ This is taken from a website that I can't remember at the moment." :hook (eshell-mode . eshell-syntax-highlighting-mode) :config ;; Make cat with syntax highlight. - ;; (defun aweshell-cat-with-syntax-highlight (filename) (defun aweshell-cat-with-syntax-highlight (filename) "Like cat(1) but with syntax highlighting. @@ -233,7 +232,9 @@ Taken from https://emacs.stackexchange.com/questions/3432/display-images-in-eshe Also, can cat images for some reason. -Taken from https://emacs.stackexchange.com/questions/3432/display-images-in-eshell-with-iimage-mode " +See: +https://github.com/manateelazycat/aweshell/blob/d246df619573ca3f46070cc0ac82d024271ed243/aweshell.el#L775 +https://emacs.stackexchange.com/questions/3432/display-images-in-eshell-with-iimage-mode " (setq args (eshell-stringify-list (flatten-tree args))) (dolist (file args) (if (string= file "-")