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."
  (dolist (set sets)
    (when (and (stringp set)
               (string-match "^\\([^=]+\\)=\\(.*\\)" set))
      (eshell-set-variable (match-string 1 set)
                           (match-string 2 set)))))