Browse Source

mention the transition to personal as a submodule

custom
Bozhidar Batsov 14 years ago
parent
commit
72f073feaa
  1. 7
      README.md
  2. 4
      utils/installer.sh

7
README.md

@ -221,6 +221,9 @@ If you're using `wget` type:
```bash ```bash
$ git clone git://github.com/bbatsov/emacs-prelude.git path/to/local/repo $ git clone git://github.com/bbatsov/emacs-prelude.git path/to/local/repo
$ ln -s path/to/local/repo ~/.emacs.d $ ln -s path/to/local/repo ~/.emacs.d
$ cd ~/emacs.d
$ git submodule init
$ git submodule update
``` ```
You'd do well to replace `~/.emacs.d` with the value of You'd do well to replace `~/.emacs.d` with the value of
@ -304,7 +307,9 @@ Or you can use another theme altogether by adding something like:
If you'd like to change some of the setting in Prelude (or simply add If you'd like to change some of the setting in Prelude (or simply add
more) the proper way to do so would be to create Emacs Lisp files more) the proper way to do so would be to create Emacs Lisp files
under the **personal** directory in `prelude-dir`. They will be loaded under the **personal** directory in `prelude-dir`. They will be loaded
automatically be Prelude on startup.
automatically be Prelude on startup. The directory is backed by a git
submodule, so you can easily track your own personalizations via
git.
Avoid modifying the Prelude config itself (unless you're not Avoid modifying the Prelude config itself (unless you're not
intimidated to maintain a personal fork on GitHub) - this will make it intimidated to maintain a personal fork on GitHub) - this will make it

4
utils/installer.sh

@ -20,9 +20,11 @@ then
mv ~/.emacs ~/.emacs.pre-prelude mv ~/.emacs ~/.emacs.pre-prelude
fi fi
echo -n "Cloning Emacs Prelude from GitHub... " echo -n "Cloning Emacs Prelude from GitHub... "
/usr/bin/env git clone $PRELUDE_URL $PRELUDE_INSTALL_DIR > /dev/null /usr/bin/env git clone $PRELUDE_URL $PRELUDE_INSTALL_DIR > /dev/null
cd $PRELUDE_INSTALL_DIR
/usr/bin/env git submodule init
/usr/bin/env git submodule update
echo "done." echo "done."
echo ' _____ ____ _ _ ' echo ' _____ ____ _ _ '

Loading…
Cancel
Save