mention the transition to personal as a submodule

This commit is contained in:
Bozhidar Batsov 2012-04-04 18:32:47 +03:00
parent 4deb718c8f
commit 72f073feaa
2 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -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 ' _____ ____ _ _ '