Variable: eshell-aliases-file

eshell-aliases-file is a customizable variable defined in em-alias.el.gz.

Value

"/root/.emacs.d/eshell/alias"

Documentation

The file in which aliases are kept.

Whenever an alias is defined by the user, using the alias command, it will be written to this file. Thus, alias definitions (and deletions) are always permanent. This approach was chosen for the sake of simplicity, since that's pretty much the only benefit to be gained by using this module.

This variable was added, or its default value changed, in Emacs 30.1.

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-alias.el.gz
(defcustom eshell-aliases-file (expand-file-name "alias" eshell-directory-name)
  "The file in which aliases are kept.
Whenever an alias is defined by the user, using the `alias' command,
it will be written to this file.  Thus, alias definitions (and
deletions) are always permanent.  This approach was chosen for the
sake of simplicity, since that's pretty much the only benefit to be
gained by using this module."
  :version "30.1"
  :type '(choice (const :tag "Don't save aliases" nil)
                 file)
  :group 'eshell-alias)