diff options
-rw-r--r-- | emacs/.config/chemacs/profiles.el | 2 | ||||
-rwxr-xr-x | setup.sh | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/emacs/.config/chemacs/profiles.el b/emacs/.config/chemacs/profiles.el index d134391..70636f9 100644 --- a/emacs/.config/chemacs/profiles.el +++ b/emacs/.config/chemacs/profiles.el @@ -1,6 +1,4 @@ (("default" . ((user-emacs-directory . "~/build/doom-emacs") (env . (("DOOMDIR" . "~/.config/doom"))))) - ("doom-staging" . ((user-emacs-directory . "~/build/doom-emacs-staging") - (env . (("DOOMDIR" . "~/.config/doom"))))) ("kj" . ((user-emacs-directory . "~/.config/emacs-kj"))) ) @@ -29,6 +29,10 @@ if [[ $# -ge 1 && $1 == "fast" ]]; then exit fi +if [[ ! -e ~/.config/emacs ]]; then + git clone https://github.com/plexus/chemacs2.git ~/.config/emacs +fi + doom_path=~/build/doom-emacs if which emacs >/dev/null && [[ ! -e $doom_path ]]; then git clone https://github.com/plexus/chemacs2.git ~/.config/emacs |