-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds better personal configurations to Prelude #1389
base: master
Are you sure you want to change the base?
Adds better personal configurations to Prelude #1389
Conversation
With this change `prelude-personal-dir` now is decoupled from `prelude-dir` which allows one to manage them independently. One should be able to install Prelude with the following command setting different paths for prelude itself and for the user personal configuration. ``` if [ ! -d "/some/dir/.emacs.prelude" ]; then export PRELUDE_INSTALL_DIR="/my_home_dir/.emacs.prelude" && export PRELUDE_PERSONAL_DIR="/my_personal_dotfiles/prelude" && curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh fi ``` Alternatively, just `git clone ...` should also work for the installation step! After that, Prelude will start loading the configuration from the new path, for example, with https://github.com/plexus/chemacs2 ``` ( ("prelude" . ((user-emacs-directory . "/my_home_dir/.emacs.prelude") (custom-file . "/my_personal_dotfiles/prelude/custom.el") (env . (("PRELUDE_PERSONAL_DIR" . "/my_personal_dotfiles/prelude")))))) ``` In this way `prelude-personal-dir` can live and be managed by the user own dotfiles without interfering with Prelude itself. This was stolen from Crafted Emacs (https://github.com/SystemCrafters/crafted-emacs) which may or may not be legal :)
I'm fine with the proposed changes, but this has to be documented - e.g. somewhere in the setup instructions. |
Agree but, can you point me in the right direction? I'm pretty new to Prelude, so far only read the
Please, if you can point me in the right direction on where to write some documentation for this it would be very helpful! |
I was thinking of adding something to https://github.com/bbatsov/prelude/blob/master/docs/installation.md |
From the Crafted Emacs readme:
|
@jvillasante Ping :-) |
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed soon if no further activity occurs. Thank you for your contribution and understanding! |
With this change
prelude-personal-dir
now is decoupled fromprelude-dir
which allows one to manage them independently.One should be able to install Prelude with the following command setting different paths for prelude itself and for the user personal configuration.
Alternatively, just
git clone ...
should also work for the installation step!After that, Prelude will start loading the configuration from the new path, for example, with https://github.com/plexus/chemacs2
In this way
prelude-personal-dir
can live and be managed by the user own dotfiles without interfering with Prelude itself.This was stolen from Crafted Emacs (https://github.com/SystemCrafters/crafted-emacs) which may or may not be legal :)
Before submitting the PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):
Thanks!