diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-09-28 04:54:52 -0700 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-09-28 04:54:52 -0700 |
commit | 9a6135166ff591304c8700662033a858e7b440f7 (patch) | |
tree | 4f83065099cd114cf2e49595bccf296698969de8 | |
parent | 1105d23a5e950958c992a7f931eb0b7e02ae53ec (diff) |
add chemacs install
-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 |