Skip to content

Commit

Permalink
Allows alternate install locations, and repos
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Corrigan committed Jun 8, 2012
1 parent 86b0ac0 commit c031965
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -34,6 +34,16 @@ https://github.com/bbatsov/prelude/raw/master/utils/installer.sh

You can now power up your Emacs, sit back and enjoy Prelude.

There are two environment variables you can use to control the
source repository and the installation directory. For instance:

`PRELUDE_URL="https://github.com/yourname/prelude.git" &&
PRELUDE_INSTALL_DIR="$HOME/.emacs.d" &&
curl -L
https://github.com/bbatsov/prelude/raw/master/utils/installer.sh
| sh`


## Would you like to know more?

Check out the [Prelude's project page](http://batsov.com/prelude) for
Expand Down
4 changes: 2 additions & 2 deletions utils/installer.sh
@@ -1,5 +1,5 @@
PRELUDE_INSTALL_DIR="$HOME/.emacs.d"
PRELUDE_URL=https://github.com/bbatsov/prelude.git
[ -z "$PRELUDE_INSTALL_DIR" ] && PRELUDE_INSTALL_DIR="$HOME/.emacs.d"
[ -z "$PRELUDE_URL" ] && PRELUDE_URL=https://github.com/bbatsov/prelude.git

if [ -d $PRELUDE_INSTALL_DIR/prelude ]
then
Expand Down

0 comments on commit c031965

Please sign in to comment.