Function: eshell/export
eshell/export is a byte-compiled function defined in esh-var.el.gz.
Signature
(eshell/export &rest SETS)
Documentation
This alias allows the export command to act as bash users expect.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-var.el.gz
(defun eshell/export (&rest sets)
"This alias allows the `export' command to act as bash users expect."
(while sets
(if (and (stringp (car sets))
(string-match "^\\([^=]+\\)=\\(.*\\)" (car sets)))
(setenv (match-string 1 (car sets))
(match-string 2 (car sets))))
(setq sets (cdr sets))))