Archived
1
0
Fork 0

cleanup profiles ; add setup script

This commit is contained in:
KemoNine 2022-05-21 13:13:20 -04:00
parent 04aceb27b0
commit a175bd998d
4 changed files with 40 additions and 9 deletions

View file

@ -0,0 +1,8 @@
(
("default" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/code")))
("code" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/code")))
("org" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/org")))
("beancount" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/accounting")))
("ledger" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/accounting")))
("accounting" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/accounting")))
)

View file

@ -1,8 +1,7 @@
(
("default" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/code")))
("code" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/code")))
("org" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/org")))
("beancount" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/accounting")))
("ledger" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/accounting")))
("accounting" . ((user-emacs-directory . "C:/Users/mcros/Nextcloud/.emacs.d.profiles/accounting")))
(("default" . ((user-emacs-directory . "~/.emacs.d.profiles/code")))
("code" . ((user-emacs-directory . "~/.emacs.d.profiles/code")))
("org" . ((user-emacs-directory . "~/.emacs.d.profiles/org")))
("beancount" . ((user-emacs-directory . "~/.emacs.d.profiles/accounting")))
("ledger" . ((user-emacs-directory . "~/.emacs.d.profiles/accounting")))
("accounting" . ((user-emacs-directory . "~/.emacs.d.profiles/accounting")))
)

1
.gitignore vendored
View file

@ -7,3 +7,4 @@ orig/
**/bookmarks
**/persp-confs
**/beancount-mode
*/transient

23
_setup.sh Executable file
View file

@ -0,0 +1,23 @@
#!/bin/bash
# kemo setup
if [[ ! -d ~/.emacs.d.profiles ]]; then
git clone https://git.kemonine.info/kemonine/dotfiles.git ~/.emacs.d.profiles
fi
# multi profile
if [[ ! -d ~/.emacs.d ]]; then
git clone https://github.com/plexus/chemacs2.git ~/.emacs.d
fi
# profiles
rm ~/.emacs-profiles.el
if grep -q "Android" <<< `uname -a`; then
ln -s ~/.emacs.d.profiles/.emacs-profiles-mobile.el ~/.emacs-profiles.el
else
ln -s ~/.emacs.d.profiles/.emacs-profiles.el ~/.emacs-profiles.el
fi
# dont forget to pre-compile elisp / install plugins
cat ~/.emacs-profiles.el
echo "run emacs with each profile in '~/.emacs-profiles.el'"