Function: eshell-alias-initialize
eshell-alias-initialize is a byte-compiled function defined in
em-alias.el.gz.
Signature
(eshell-alias-initialize)
Documentation
Initialize the alias handling code.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-alias.el.gz
(defun eshell-alias-initialize () ;Called from `eshell-mode' via intern-soft!
"Initialize the alias handling code."
(make-local-variable 'eshell-failed-commands-alist)
(add-hook 'eshell-alternate-command-hook #'eshell-fix-bad-commands t t)
(eshell-read-aliases-list)
(add-hook 'eshell-named-command-hook #'eshell-maybe-replace-by-alias t t)
(make-local-variable 'eshell-complex-commands)
(add-to-list 'eshell-complex-commands 'eshell-command-aliased-p))