Update README.md

This commit is contained in:
James Cherti
2024-11-16 17:26:06 -05:00
parent 17f3c1aa0d
commit 406769da20

View File

@@ -18,8 +18,8 @@ The author is using **[minimal-emacs.d](https://github.com/jamescherti/minimal-e
- [Minimal ~/.emacs.d - Vanilla Emacs Configuration with Better Defaults and Optimized Startup](#minimal-emacsd---vanilla-emacs-configuration-with-better-defaults-and-optimized-startup) - [Minimal ~/.emacs.d - Vanilla Emacs Configuration with Better Defaults and Optimized Startup](#minimal-emacsd---vanilla-emacs-configuration-with-better-defaults-and-optimized-startup)
- [Install minimal-emacs.d](#install-minimal-emacsd) - [Install minimal-emacs.d](#install-minimal-emacsd)
- [Installation into ~/.emacs.d](#installation-into-emacsd) - [Installation minimal-emacs.d into ~/.emacs.d](#installation-minimal-emacsd-into-emacsd)
- [Alternative: Installation in `~/.minimal-emacs.d`](#alternative-installation-in-minimal-emacsd) - [Alternative: Install minimal-emacs.d into `~/.minimal-emacs.d`](#alternative-install-minimal-emacsd-into-minimal-emacsd)
- [Update minimal-emacs.d](#update-minimal-emacsd) - [Update minimal-emacs.d](#update-minimal-emacsd)
- [Customizations](#customizations) - [Customizations](#customizations)
- [How to customize early-init.el and init.el?](#how-to-customize-early-initel-and-initel) - [How to customize early-init.el and init.el?](#how-to-customize-early-initel-and-initel)
@@ -54,16 +54,17 @@ The author is using **[minimal-emacs.d](https://github.com/jamescherti/minimal-e
## Install minimal-emacs.d ## Install minimal-emacs.d
**Important:** Ensure that the *~/.emacs* and *~/.emacs.el* files do not exist. These files takes precedence over *init.el*, causing Emacs to ignore the *init.el* and/or *early-init.el* in the *~/.emacs.d/* directory or any directory specified with the *--init-directory* Emacs command-line argument. This behavior is due to the way Emacs searches for initialization files ([more information](https://www.gnu.org/software/emacs/manual/html_node/emacs/Find-Init.html#Find-Init)). **Simply delete the *~/.emacs* and *~/.emacs.el* avoid this issue.** - **Important:** Ensure that the *~/.emacs* and *~/.emacs.el* files do not exist. These files takes precedence over *init.el*, causing Emacs to ignore the *init.el* and/or *early-init.el* in the *~/.emacs.d/* directory or any directory specified with the *--init-directory* Emacs command-line argument. This behavior is due to the way Emacs searches for initialization files ([more information](https://www.gnu.org/software/emacs/manual/html_node/emacs/Find-Init.html#Find-Init)). **Simply delete the *~/.emacs* and *~/.emacs.el* avoid this issue.**
- Prerequisite: git
### Installation into ~/.emacs.d ### Installation minimal-emacs.d into ~/.emacs.d
Execute the following command to clone this repository into `~/.emacs.d`: Execute the following command install this repository into `~/.emacs.d`:
``` ```
git clone https://github.com/jamescherti/minimal-emacs.d ~/.emacs.d git clone https://github.com/jamescherti/minimal-emacs.d ~/.emacs.d
``` ```
### Alternative: Installation in `~/.minimal-emacs.d` ### Alternative: Install minimal-emacs.d into `~/.minimal-emacs.d`
To install `minimal-emacs.d` in a non-default directory, use the `--init-directory` Emacs option to specify your desired configuration path. For example, to install `minimal-emacs.d` in `~/.minimal-emacs.d/`, follow these steps: To install `minimal-emacs.d` in a non-default directory, use the `--init-directory` Emacs option to specify your desired configuration path. For example, to install `minimal-emacs.d` in `~/.minimal-emacs.d/`, follow these steps: