Archived
1
0
Fork 0

fix line endings ; fix git checkout

This commit is contained in:
KemoNine 2024-08-24 09:24:19 -04:00
parent 562385cb8e
commit db916a23d2

View file

@ -1,28 +1,28 @@
#!/bin/bash #!/bin/bash
# kemo setup # kemo setup
if [[ ! -d ~/.emacs.d.profiles ]]; then if [[ ! -d ~/.emacs.d.profiles ]]; then
git clone https://git.kemonine.info/kemonine/dotfiles.git ~/.emacs.d.profiles git clone https://git.kemonine.info/kemonine/emacs.git ~/.emacs.d.profiles
fi fi
# multi profile # multi profile
if [[ ! -d ~/.emacs.d ]]; then if [[ ! -d ~/.emacs.d ]]; then
git clone https://github.com/plexus/chemacs2.git ~/.emacs.d git clone https://github.com/plexus/chemacs2.git ~/.emacs.d
fi fi
# profiles # profiles
rm ~/.emacs-profiles.el rm ~/.emacs-profiles.el
if grep -q "Android" <<< `uname -a`; then if grep -q "Android" <<< `uname -a`; then
ln -s ~/.emacs.d.profiles/.emacs-profiles-mobile.el ~/.emacs-profiles.el ln -s ~/.emacs.d.profiles/.emacs-profiles-mobile.el ~/.emacs-profiles.el
else else
ln -s ~/.emacs.d.profiles/.emacs-profiles.el ~/.emacs-profiles.el ln -s ~/.emacs.d.profiles/.emacs-profiles.el ~/.emacs-profiles.el
fi fi
# dont forget to pre-compile elisp / install plugins # dont forget to pre-compile elisp / install plugins
cat ~/.emacs-profiles.el cat ~/.emacs-profiles.el
echo "run emacs with each profile in '~/.emacs-profiles.el'" echo "run emacs with each profile in '~/.emacs-profiles.el'"
echo "install multimarkdown (windows bin release + add to emacs path like sqlite3)" echo "install multimarkdown (windows bin release + add to emacs path like sqlite3)"
echo "pacman -S mingw-w64-x86_64-{emacs,emacs-pdf-tools-server,imagemagick} in msys2" echo "pacman -S mingw-w64-x86_64-{emacs,emacs-pdf-tools-server,imagemagick} in msys2"
echo "pacman -S mingw-w64-x86_64-texlive-full in msys2" echo "pacman -S mingw-w64-x86_64-texlive-full in msys2"
echo "pacman -S mingw-w64-x86_64-aspell mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en in msys2" echo "pacman -S mingw-w64-x86_64-aspell mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en in msys2"
echo "pip install 'python-lsp-server[all]' python-lsp-black pyls-memestra pylsp-rope" echo "pip install 'python-lsp-server[all]' python-lsp-black pyls-memestra pylsp-rope"