Clean up eshell-catimg comments and doc
This commit is contained in:
parent
f3649541a8
commit
f01afb0bc3
@ -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)
|
:hook (eshell-mode . eshell-syntax-highlighting-mode)
|
||||||
:config
|
:config
|
||||||
;; Make cat with syntax highlight.
|
;; Make cat with syntax highlight.
|
||||||
;; (defun aweshell-cat-with-syntax-highlight (filename)
|
|
||||||
(defun aweshell-cat-with-syntax-highlight (filename)
|
(defun aweshell-cat-with-syntax-highlight (filename)
|
||||||
"Like cat(1) but with syntax highlighting.
|
"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.
|
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)))
|
(setq args (eshell-stringify-list (flatten-tree args)))
|
||||||
(dolist (file args)
|
(dolist (file args)
|
||||||
(if (string= file "-")
|
(if (string= file "-")
|
||||||
|
Loading…
Reference in New Issue
Block a user