diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2020-10-19 20:26:00 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2020-10-19 20:26:00 -0400 |
commit | ee9cf79230250e82fe01affc193422bcbf499270 (patch) | |
tree | 07b43a8942ded60e8aa7b4860c519b3b6225e3fe /setup.sh | |
parent | 419df6fe0b72f9479e108e6ca5160aa6381aab87 (diff) |
Update setup script
Diffstat (limited to 'setup.sh')
-rwxr-xr-x | setup.sh | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -4,17 +4,22 @@ set -euo pipefail STOW="stow -R --no-folding -v" cd "$(dirname $0)" -$STOW -R zsh +$STOW common +$STOW zsh source $HOME/.zshenv -$STOW -R Xresources +if which xmonad >/dev/null; then + $STOW desktop + xmonad --recompile +fi -if which emacs >/dev/null; then - $STOW -R emacs - # doom sync # Too slow! +if [[ $# -ge 1 && $1 == "fast" ]]; then + shift + exit fi -if which xmonad >/dev/null; then - $STOW xmonad - xmonad --recompile +if which emacs >/dev/null; then + $STOW emacs + git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d + doom sync # Too slow! fi |