I have been using emacs
for a while, and i recently installed zsh
and i wanted to give a try with spacemacs
. I want to try spacemacs
without disturbing existing emacs
.
I followed the instruction as mentioned here.
- created a dir
~/spacemacs
git clone https://github.com/syl20bnr/spacemacs.git ~/spacemacs/.emacs.d
HOME=~/spacemacs emacs
I did the first two steps. But im not sure to do the last step HOME=~/spacemacs emacs
, because i want things to be as follows. when i give emacs
, my default emacs
should open, and when i give semacs
i want to open spacemacs
.
So far, i have modified my .zshrc
file in such a way that, when i give the command emacs
it fires up emacs
, so i have an alias like such alias emacs='emacs -nw'
.
And i want to give semacs
(alias for spacemacs
) open spacemacs
, so that i can open emacs
any time i wanted to, if im not comfortable with spacemacs
. Now what should be the 3rd step as and what should be my alias look like.