Browse Source

Allows alternate install locations, and repos

custom
Brian Corrigan 14 years ago
parent
commit
c0319652b7
  1. 10
      README.md
  2. 4
      utils/installer.sh

10
README.md

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

4
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

Loading…
Cancel
Save