Hello Anoop,

Anoop G <[email protected]> writes:

> Hi All,
>
> I read the README.md file provided in
>   http://philjackson.github.com/magit.  and found that
>
>    make && *sudo make install* will install the magit.el in
>  /usr/local/share/emacs/site-lisp this required root access ,but how I
> can
>  install magit in my home directory (/home/anoop/.emacs.d/site-
> lisp) *without  root permission* ,If I copy magit.el to
>  /home/anoop/.emacs.d/site-lisp and
>  put (require 'magit' ) in my .emacs  will it work ?. 
>
> Thanks:
>     Anoop G

If you want magit to be in your home folder, simply copy magit to your
.emacs.d folder.(you don't do make install)

 - download the magit tar.
 - extract files.
 - move extracted files to .emacs.d (say ~/.emacs.d/magit)
 - make it now (optional)
 - put the following in you init file
   
--8<---------------cut here---------------start------------->8---
   (add-to-list 'load-path "~/.emacs.d/magit")
   (require 'magit)
--8<---------------cut here---------------end--------------->8---


PS: my previous mail didn't hit the list, sending it again.
Thanks.,
--
Yagnesh

Reply via email to