diff options
Diffstat (limited to 'setup.sh')
-rwxr-xr-x | setup.sh | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/env bash set -euo pipefail -STOW="stow -R --no-folding -v" +STOW="stow -R --no-folding" cd "$(dirname $0)" git submodule update --init --recursive --depth 1 @@ -13,6 +13,7 @@ $STOW common $STOW zsh $STOW direnv $STOW xbindkeys +$STOW emacs touch $HOME/.zshrc.local source $HOME/.zshenv @@ -28,13 +29,14 @@ if [[ $# -ge 1 && $1 == "fast" ]]; then exit fi -if which emacs >/dev/null; then - $STOW emacs - if [[ ! -e ~/.emacs.d ]]; then - git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d - fi - doom install - doom sync # Too slow! +doom_path=~/build/doom-emacs +if which emacs >/dev/null && [[ ! -e $doom_path ]]; then + git clone https://github.com/plexus/chemacs2.git ~/.config/emacs + unset DOOMDIR + unset EMACSDIR + git clone --depth 1 https://github.com/hlissner/doom-emacs $doom_path + $doom_path/bin/doom install + $doom_path/bin/doom sync # Too slow! fi fc-cache || true @@ -43,7 +45,6 @@ tools=( rg fzf bat - exa most emacs git |