emacscollective / no-littering

Help keeping ~/.config/emacs clean
GNU General Public License v3.0
635 stars 69 forks source link

eshell: Theme `eshell-rc-script` separately from other Eshell files #190

Closed okamsn closed 2 years ago

okamsn commented 2 years ago

This sets eshell-rc-script and eshell-login-script. These script files are the Eshell startup file, and do not contain data. Instead, they contain a series of Eshell commands, similar to .bashrc.

The moving of these files from var to etc follows the same reasoning used in

138 for moving the Eshell aliases file.

The current configured values of these variables are var/eshell/profile and var/eshell/login. Following the conventions, they are changed to etc/eshell/rc and etc/eshell/login, given that the suffix "-script" is similar to a suffix "-file".

tarsius commented 2 years ago

Thanks!