Function: org-eshell-store-link
org-eshell-store-link is a byte-compiled function defined in
ol-eshell.el.gz.
Signature
(org-eshell-store-link &optional INTERACTIVE?)
Documentation
Store eshell link.
When opened, the link switches back to the current eshell buffer and the current working directory.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ol-eshell.el.gz
(defun org-eshell-store-link (&optional _interactive?)
"Store eshell link.
When opened, the link switches back to the current eshell buffer and
the current working directory."
(when (eq major-mode 'eshell-mode)
(let* ((command (concat "cd " (eshell/pwd)))
(link (concat (buffer-name) ":" command)))
(org-link-store-props
:link (concat "eshell:" link)
:description command))))